You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2019/05/21 22:52:00 UTC

[jira] [Created] (HIVE-21768) JDBC: Strip the default union prefix for un-enclosed UNION queries

Gopal V created HIVE-21768:
------------------------------

             Summary: 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: 3.1.1, 4.0.0
            Reporter: Gopal V


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