hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-92) union all has a problem if no embedding select is present
Date Tue, 02 Dec 2008 20:10:44 GMT

    [ https://issues.apache.org/jira/browse/HIVE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652488#action_12652488
] 

Namit Jain commented on HIVE-92:
--------------------------------

during semantic analysis phase,  treat

subq1 union subq2 as

select * from (subq1 union subq2) dummysubq




> union all has a problem if no embedding select is present
> ---------------------------------------------------------
>
>                 Key: HIVE-92
>                 URL: https://issues.apache.org/jira/browse/HIVE-92
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: patch1.txt
>
>
> select s2.key as key, s2.value as value from src s2
>   UNION  ALL
> select s1.key as key, s1.value as value from src s1;
> does not work.
> The code assumes that either it is a join or only one source is present

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message