[ 
https://issues.apache.org/jira/browse/HIVE-22601?focusedWorklogId=442341&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442341
 ]

ASF GitHub Bot logged work on HIVE-22601:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jun/20 00:25
            Start Date: 07/Jun/20 00:25
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #863:
URL: https://github.com/apache/hive/pull/863


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 442341)
    Time Spent: 20m  (was: 10m)

> Some columns will be lost when a UDTF has multiple aliases in some cases
> ------------------------------------------------------------------------
>
>                 Key: HIVE-22601
>                 URL: https://issues.apache.org/jira/browse/HIVE-22601
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.1.1, 2.2.0, 3.1.2, 2.3.6
>            Reporter: okumin
>            Assignee: Owen O'Malley
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22601.1.patch, HIVE-22601.2.patch, 
> HIVE-22601.3.patch, HIVE-22601.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Only one column will be retained when putting UDTFs with multiple aliases and 
> a top-level UNION together.
> For example, the result of the following SQL should have three columns, c1, 
> c2 and c3.
> {code:java}
> SELECT stack(1, 'a', 'b', 'c') AS (c1, c2, c3)
> UNION ALL
> SELECT stack(1, 'd', 'e', 'f') AS (c1, c2, c3);
> {code}
> However, It's only the c3 column which I can get.
> {code:java}
> +---------+
> | _u1.c3  |
> +---------+
> | c       |
> | f       |
> +---------+
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to