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

Jesus Camacho Rodriguez commented on HIVE-21768:
------------------------------------------------

+1

> JDBC: Strip the default union prefix for un-enclosed UNION queries
> ------------------------------------------------------------------
>
>                 Key: HIVE-21768
>                 URL: https://issues.apache.org/jira/browse/HIVE-21768
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 4.0.0, 3.1.1
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Major
>         Attachments: HIVE-21768.1.patch, HIVE-21768.2.patch, 
> HIVE-21768.3.patch, HIVE-21768.4.patch
>
>
> {code}
> beeline> select 1  union all select 2;
> +----------+
> | _u1._c0  |
> +----------+
> | 2        |
> | 1        |
> +----------+
> {code}
> The _u1 is superfluous and harmful to result schema parsing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to