[
https://issues.apache.org/jira/browse/HIVE-21768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846974#comment-16846974
]
Jesus Camacho Rodriguez commented on HIVE-21768:
------------------------------------------------
I have some concerns about this patch that I mentioned to [~gopalv], e.g., when
table names start with {{_u}}, this would always remove the table qualifier.
Not sure if this could lead to some other issues?
I am wondering what is the actual reason for the regression wrt previous
versions and if we can solve it in another way.
> 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
>
>
> {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)