.pageBreak()
.row("b", 5, 0.4, false)
.row("a", 6, 0.1, true)
.build();
InMemoryWindowOperatorFactory operatorFactory = new InMemoryWindowOperatorFactory(
0,
ImmutableList.of(sourceTupleInfo),
0,
ints(0),
ROW_NUMBER,
ints(0),
ints(1),
bools(true),
10);
Operator operator = operatorFactory.createOperator(driverContext);
MaterializedResult expected = resultBuilder(VARIABLE_BINARY, FIXED_INT_64, DOUBLE, BOOLEAN, FIXED_INT_64)
.row("a", 2, 0.3, false, 1)
.row("a", 4, 0.2, true, 2)
.row("a", 6, 0.1, true, 3)