JDBC.assertFullResultSet(rs, expRS, true);
p = SQLUtilities.getRuntimeStatisticsParser(st);
assertTrue("Expected index scan on T3", p.usedIndexScan("T3"));
assertTrue("Expected index scan on T4", p.usedIndexScan("T4"));
rs = st
.executeQuery("select * from (select * from t1 union all select * "
+ "from t2) x1, (select * from t3 union all select * "
+ "from t4) x2 where x1.i = x2.a");