[ 
https://issues.apache.org/jira/browse/HIVE-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

N Campbell updated HIVE-3184:
-----------------------------

    Summary: remove existing restriction that union must be defined within a 
derived table (follow ISO-SQL 2011)  (was: remove existing restriction that 
union must be defined within a derived table (follow ISO-SQL 2012))

> remove existing restriction that union must be defined within a derived table 
> (follow ISO-SQL 2011)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3184
>                 URL: https://issues.apache.org/jira/browse/HIVE-3184
>             Project: Hive
>          Issue Type: Improvement
>          Components: SQL
>    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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to