| .row("d", 5)
.row("d", 7)
.row("e", 6)
.build();
TopNOperatorFactory operatorFactory = new TopNOperatorFactory(
0,
ImmutableList.of(VARCHAR, BIGINT),
3,
ImmutableList.of(0, 1),
ImmutableList.of(DESC_NULLS_LAST, DESC_NULLS_LAST),
false);
Operator operator = operatorFactory.createOperator(driverContext);
MaterializedResult expected = MaterializedResult.resultBuilder(driverContext.getSession(), VARCHAR, BIGINT)
.row("f", 3)
.row("e", 6)
.row("d", 7)
|