@Test public void testStrengthenJoinType() {
// The "Filter(... , right.c IS NOT NULL)" above a left join is pushed into
// the join, makes it an inner join, and then disappears because c is NOT
// NULL.
final HepProgram preProgram =
HepProgram.builder()
.addRuleInstance(MergeProjectRule.INSTANCE)
.addRuleInstance(PushFilterPastProjectRule.INSTANCE)
.build();
final HepProgram program =
HepProgram.builder()
.addRuleInstance(PushFilterPastJoinRule.FILTER_ON_JOIN)
.build();
checkPlanning(tester.withDecorrelation(true).withTrim(true), preProgram,
new HepPlanner(program),