.addSequencePage(100, 1)
.build();
input = appendSampleWeight(input, 0);
OperatorFactory operatorFactory = new MaterializeSampleOperatorFactory(0, ImmutableList.of(BIGINT), 1);
Operator operator = operatorFactory.createOperator(driverContext);
MaterializedResult expected = resultBuilder(driverContext.getSession(), BIGINT)
.build();
OperatorAssertion.assertOperatorEqualsIgnoreOrder(operator, input, expected);