query);
}
/** SELECT * FROM g1 cross join (g2 cross join g3), g4, g5 cross join g6 */
@Test public void testMixedJoin2() {
UnaryFromClause g1 = new UnaryFromClause(new GroupSymbol("g1")); //$NON-NLS-1$
UnaryFromClause g2 = new UnaryFromClause(new GroupSymbol("g2")); //$NON-NLS-1$
UnaryFromClause g3 = new UnaryFromClause(new GroupSymbol("g3")); //$NON-NLS-1$
UnaryFromClause g4 = new UnaryFromClause(new GroupSymbol("g4")); //$NON-NLS-1$
UnaryFromClause g5 = new UnaryFromClause(new GroupSymbol("g5")); //$NON-NLS-1$
UnaryFromClause g6 = new UnaryFromClause(new GroupSymbol("g6")); //$NON-NLS-1$
JoinPredicate jp = new JoinPredicate(g2, g3, JoinType.JOIN_CROSS);
JoinPredicate jp2 = new JoinPredicate(g1, jp, JoinType.JOIN_CROSS);
JoinPredicate jp3 = new JoinPredicate(g5, g6, JoinType.JOIN_CROSS);
From from = new From();
from.addClause(jp2);