[
https://issues.apache.org/jira/browse/HIVE-11333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pengcheng Xiong updated HIVE-11333:
-----------------------------------
Attachment: HIVE-11333.01.patch
> 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
>
>
> 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)