[ https://issues.apache.org/jira/browse/HIVE-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13614786#comment-13614786 ]
Navis commented on HIVE-4179: ----------------------------- I've took a look at this. The root cause is from UnionProcessor which does not copy colExprMapping of parent SEL operator. After applying that, I've confirmed the result is valid. [~hagleitn] The patch you've provided is valid but the missing colExprMap info can make problems in anytime. So I prefer to revise it as suggested above. Could you do that? > NonBlockingOpDeDup does not merge SEL operators correctly > --------------------------------------------------------- > > Key: HIVE-4179 > URL: https://issues.apache.org/jira/browse/HIVE-4179 > Project: Hive > Issue Type: Bug > Reporter: Gunther Hagleitner > Assignee: Gunther Hagleitner > Priority: Critical > Fix For: 0.11.0 > > Attachments: HIVE-4179.1.patch, HIVE-4179.2.patch > > > The input columns list for SEL operations isn't merged properly in the > optimization. The best way to see this is running union_remove_22.q with > -Dhadoop.mr.rev=23. The plan shows lost UDFs and a broken lineage for one > column. > Note: union_remove tests do not run on hadoop 1 or 0.20. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira