[
https://issues.apache.org/jira/browse/HIVE-11333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez updated HIVE-11333:
-------------------------------------------
Issue Type: Bug (was: Sub-task)
Parent: (was: HIVE-9132)
> 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: Bug
> 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)