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

Gopal V updated HIVE-21768:
---------------------------
    Attachment: HIVE-21768.1.patch

> 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
>
>
> {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