"select a + b as x, b, a from (values (10, 1), (30, 7)) as t(a, b)"
+ " where a - b < 0");
}
@Test public void testEmptyFilterProjectUnion() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(PushFilterPastSetOpRule.INSTANCE)
.addRuleInstance(PushFilterPastProjectRule.INSTANCE)
.addRuleInstance(MergeProjectRule.INSTANCE)
.addRuleInstance(ReduceValuesRule.PROJECT_FILTER_INSTANCE)
.addRuleInstance(RemoveEmptyRules.PROJECT_INSTANCE)