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

Ashish Thusoo commented on HIVE-92:
-----------------------------------

Looks good to me. 

I would however fix the error message to say use subquery for union 

instead of union value.

Please file a separate enhancement for the full union fix...

> 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: patch-union.txt, 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.

Reply via email to