Files
impala/testdata/workloads/functional-query/queries/QueryTest
Matthew Jacobs 93368e20b1 Fix CROSS JOIN handling in join order optimization and add tests
Cross joins should be handled like outer joins in the join order
optimization in that the right table referenced by a cross join may not
be reordered anywhere before tables referenced to the left of the cross
join. If there are inner joins to the right of the cross join, those
tables may be reordered before the cross join.

E.g., if we have A JOIN B CROSS JOIN C JOIN D, then C must come after A
and B, but D may be reordered to come before C.

Also adds test cases for join order optimization and predicate propagation.

Change-Id: I6b1022dd3e862efbff81e283b43284d846c8eca4
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1096
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
2014-01-08 10:54:29 -08:00
..
2014-01-08 10:53:13 -08:00
2014-01-08 10:48:09 -08:00
2014-01-08 10:53:25 -08:00
2014-01-08 10:53:47 -08:00
2014-01-08 10:53:47 -08:00
2014-01-08 10:48:09 -08:00
2014-01-08 10:52:27 -08:00