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

Pengcheng Xiong commented on HIVE-11333:
----------------------------------------

[~jcamachorodriguez], sure, please go ahead and do so if you think it is 
appropriate as the error is not closely pertinent to the return path. Thanks.

> CBO: Calcite Operator To Hive Operator (Calcite Return Path): ColumnPruner 
> prunes columns of UnionOperator that should be kept
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11333
>                 URL: https://issues.apache.org/jira/browse/HIVE-11333
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-11333.01.patch, HIVE-11333.02.patch
>
>
> unionOperator will have the schema following the operator in the first 
> branch. Because ColumnPruner prunes columns based on the internal name, the 
> column in other branches may be pruned due to a different internal name from 
> the first branch. To repro, run rcfile_union.q with return path turned on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to