"SUM(SELECT\n X\nFROM PUBLIC.\"\" BB\n /* SELECT\n SUM(1) AS X,\n A\n FROM PUBLIC.B\n /++ PUBLIC.B.tableScan ++/\n /++ WHERE A IS ?1\n ++/\n /++ scanCount: 4 ++/\n INNER JOIN PUBLIC.C\n /++ PUBLIC.C.tableScan ++/\n ON 1=1\n WHERE (A IS ?1)\n AND (B.VAL = C.B)\n GROUP BY A: A IS A.VAL\n */\n /* scanCount: 1 */\nWHERE BB.A IS A.VAL)"};
"SUM(SELECT\n"+
intexpectedNumberOfRows=3;
" X\n"+
"FROM PUBLIC.\"\" BB\n"+
" /* SELECT\n"+
" SUM(1) AS X,\n"+
" A\n"+
" FROM PUBLIC.B\n"+
" /++ PUBLIC.B.tableScan ++/\n"+
" /++ WHERE A IS ?1\n"+
" ++/\n"+
" /++ scanCount: 4 ++/\n"+
" INNER JOIN PUBLIC.C\n"+
" /++ PUBLIC.C.tableScan ++/\n"+
" ON 1=1\n"+
" WHERE (A IS ?1)\n"+
" AND (B.VAL = C.B)\n"+
" GROUP BY A: A IS A.VAL\n"+
" */\n"+
" /* scanCount: 1 */\n"+
"WHERE BB.A IS A.VAL)"};
StringSETUP_SQL=
StringSETUP_SQL=
"DROP TABLE IF EXISTS A; "
"DROP TABLE IF EXISTS A; "
...
@@ -58,24 +75,23 @@ public class TestPersistentCommonTableExpressions extends AbstractBaseForCommonT
...
@@ -58,24 +75,23 @@ public class TestPersistentCommonTableExpressions extends AbstractBaseForCommonT