.addSequencePage(2, 6)
.build();
input = appendSampleWeight(input, 2);
OperatorFactory operatorFactory = new LimitOperatorFactory(0, ImmutableList.of(BIGINT), 5, Optional.of(input.get(0).getChannelCount() - 1));
Operator operator = operatorFactory.createOperator(driverContext);
List<Page> expected = rowPagesBuilder(BIGINT, BIGINT)
.row(1, 2)
.row(2, 2)
.pageBreak()