Translate expressions in TestPlannerWarnings
@@ -127,7 +127,7 @@ public class TestPlannerWarnings
queryRunner.getCostCalculator(),
ImmutableSet.copyOf(rules));
- return queryRunner.createPlan(session, sql, ImmutableList.of(optimizer), LogicalPlanner.Stage.OPTIMIZED_AND_VALIDATED, warningCollector);
+ return queryRunner.createPlan(session, sql, ImmutableList.of(optimizer, queryRunner.translateExpressions()), LogicalPlanner.Stage.OPTIMIZED_AND_VALIDATED, warningCollector);
}
public static List<PrestoWarning> createTestWarnings(int numberOfWarnings)
