You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2013/10/06 19:43:44 UTC

[jira] [Updated] (HIVE-3184) remove existing restriction that union must be defined within a derived table (follow ISO-SQL 2011)

     [ 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)