[ https://issues.apache.org/jira/browse/HIVE-11333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646797#comment-14646797 ]
Jason Dere commented on HIVE-11333: ----------------------------------- Notice this was not added to branch-1, should it also go there? > 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 > Fix For: 2.0.0 > > 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)