assertTrue(storageManager.shardExists(shardUuid));
AlignmentOperatorFactory factory = new AlignmentOperatorFactory(0,
storageManager.getBlocks(shardUuid, columnHandles.get(0)),
storageManager.getBlocks(shardUuid, columnHandles.get(1)));
Operator operator = factory.createOperator(driverContext);
// materialize pages to force comparision only on contents and not page boundaries
MaterializedResult expected = toMaterializedResult(operator.getOperatorContext().getSession(), operator.getTypes(), pages);
OperatorAssertion.assertOperatorEquals(operator, expected);