Buggy code:
@ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testRightOuterJoinWithThetaJoinConditionInWhere ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoin1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithConstantExpr1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithConstantExpr4 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithConstantExpr5 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testRightOuterJoin1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testFullOuterJoin1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public void testOuterJoinAndCaseWhen1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithEmptyTable1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithEmptyTable2 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithEmptyTable3 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithEmptyTable4 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithEmptyTable5 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testRightOuterJoinWithEmptyTable1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testFullOuterJoinWithEmptyTable1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithNull1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithNull2 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest public final void testLeftOuterJoinWithNull3 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true , sort = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id\n" + ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id<seq2seq4repair_space>and<seq2seq4repair_space>t2.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase1 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id,<seq2seq4repair_space>t4.id\n" + ( ( ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t2.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id\n" ) + "inner<seq2seq4repair_space>join<seq2seq4repair_space>jointable14<seq2seq4repair_space>t4\n" ) + "on<seq2seq4repair_space>t2.id<seq2seq4repair_space>=<seq2seq4repair_space>t4.id" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase2 ( ) throws Exception { } @ Test <START_BUG> @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) <END_BUG> @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id,<seq2seq4repair_space>t4.id\n" + ( ( ( ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "inner<seq2seq4repair_space>join<seq2seq4repair_space>jointable14<seq2seq4repair_space>t4\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t4.id<seq2seq4repair_space>and<seq2seq4repair_space>t4.id<seq2seq4repair_space>><seq2seq4repair_space>1\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t4.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id<seq2seq4repair_space>and<seq2seq4repair_space>t3.id<seq2seq4repair_space>=<seq2seq4repair_space>2\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id<seq2seq4repair_space>\n" ) + "where<seq2seq4repair_space>t1.id<seq2seq4repair_space>><seq2seq4repair_space>1" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase2_1 ( ) throws Exception { runSimpleTests ( ) ; } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true , sort = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id\n" + ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2<seq2seq4repair_space>\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id<seq2seq4repair_space>and<seq2seq4repair_space>(concat(t1.name,<seq2seq4repair_space>cast(t2.id<seq2seq4repair_space>as<seq2seq4repair_space>TEXT))<seq2seq4repair_space>=<seq2seq4repair_space>\'table11-11\'<seq2seq4repair_space>or<seq2seq4repair_space>concat(t1.name,<seq2seq4repair_space>cast(t2.id<seq2seq4repair_space>as<seq2seq4repair_space>TEXT))<seq2seq4repair_space>=<seq2seq4repair_space>\'table11-33\')\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id<seq2seq4repair_space>" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase3 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true , sort = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id\n" + ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id<seq2seq4repair_space>and<seq2seq4repair_space>t2.id<seq2seq4repair_space>><seq2seq4repair_space>1<seq2seq4repair_space>\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase4 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true , sort = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id\n" + ( ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id\n" ) + "where<seq2seq4repair_space>t1.name<seq2seq4repair_space>><seq2seq4repair_space>'table11-1'" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase5 ( ) throws Exception { } @ Test @ Option ( withExplain = true , withExplainGlobal = true , parameterized = true ) @ SimpleTest ( queries = { @ QuerySpec ( "select<seq2seq4repair_space>t1.id,<seq2seq4repair_space>t1.name,<seq2seq4repair_space>t2.id,<seq2seq4repair_space>t3.id\n" + ( ( ( ( ( "from<seq2seq4repair_space>jointable11<seq2seq4repair_space>t1\n" + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable12<seq2seq4repair_space>t2\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t2.id\n" ) + "left<seq2seq4repair_space>outer<seq2seq4repair_space>join<seq2seq4repair_space>jointable13<seq2seq4repair_space>t3\n" ) + "on<seq2seq4repair_space>t1.id<seq2seq4repair_space>=<seq2seq4repair_space>t3.id\n" ) + "where<seq2seq4repair_space>t3.id<seq2seq4repair_space>><seq2seq4repair_space>2" ) ) } ) public final void testLeftOuterJoinPredicationCaseByCase6 ( ) throws Exception { }

Fix:
@ Option ( withExplain = true , withExplainGlobal = true , parameterized = true , sort = true )