projection = ExpressionTreeRewriter.rewriteWith(new SymbolToInputRewriter(INPUT_MAPPING), projection);
IdentityHashMap<Expression, Type> expressionTypes = getExpressionTypesFromInput(TEST_SESSION, metadata, SQL_PARSER, INPUT_TYPES, ImmutableList.of(filter, projection));
try {
CursorProcessor cursorProcessor = compiler.compileCursorProcessor(
SqlToRowExpressionTranslator.translate(filter, expressionTypes, metadata, session, false),
ImmutableList.of(SqlToRowExpressionTranslator.translate(projection, expressionTypes, metadata, session, false)),
SOURCE_ID);
PageProcessor pageProcessor = compiler.compilePageProcessor(