if (!projectionMatchesOutput) {
IdentityProjectionInfo mappings = computeIdentityMapping(expectedLayout, source.getLayout(), context.getTypes());
operatorFactories.add(new FilterAndProjectOperator.FilterAndProjectOperatorFactory(
subContext.getNextOperatorId(),
new GenericPageProcessor(FilterFunctions.TRUE_FUNCTION, mappings.getProjections()),
toTypes(mappings.getProjections())));
}
operatorFactories.add(inMemoryExchange.createSinkFactory(subContext.getNextOperatorId()));