Commit Graph

2 Commits (51f80b47e4dfa9f59c28422a91e4e3c6c7ad373a)

Author SHA1 Message Date
Onder Kalaci 51f80b47e4 Add union support within the JOINS
This commit adds support for UNION/UNION ALL subqueries that are
in the following form:

     .... (Q1 UNION Q2 UNION ...) as union_query JOIN (QN) ...

In other words, we currently do NOT support the queries that are
in the following form where union query is not JOINed with
other relations/subqueries :

     .... (Q1 UNION Q2 UNION ...) as union_query ....
2017-04-29 03:46:40 +03:00
Onder Kalaci a924c56ee2 Enable top level subquery join queries
This work enables
- Top level subquery joins
- Joins between subqueries and relations
- Joins involving more than 2 range table entries

A new regression test file is added to reflect enabled test cases
2017-04-29 03:46:40 +03:00