N Campbell created HIVE-3184:
--------------------------------
Summary: remove existing restriction that union must be defined
within a derived table (follow ISO-SQL 2012)
Key: HIVE-3184
URL: https://issues.apache.org/jira/browse/HIVE-3184
Project: Hive
Issue Type: Improvement
Affects Versions: 0.8.0
Reporter: N Campbell
Don't make SQL applications have to wrap the union operation within a derived
table per the SQL standard. Failing to do so results in Top level UNION is not
supported currently; use a subquery
i.e.
select c1, c2 from cert.tset1 tset1 union all select c1, c2 from cert.tset2
tset2
vs
select * from ( select c1, c2 from cert.tset1 tset1 union all select c1, c2
from cert.tset2 tset2 ) T
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira