You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2012/06/25 05:52:43 UTC

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

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

Carl Steinbach updated HIVE-3184:
---------------------------------

    Component/s: SQL
    
> 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
>          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 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