[ https://issues.apache.org/jira/browse/HIVE-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754042#comment-13754042 ]
Ashutosh Chauhan commented on HIVE-5149: ---------------------------------------- Thanks, Yin for working on this! Can you add a test case which exposes this bug. If I am reading it right, following query will expose it: {code} SELECT key, COUNT( * ) FROM ( SELECT key, value, COUNT( * ) FROM src GROUP BY key, value ) a GROUP BY key; {code} > ReduceSinkDeDuplication can pick the wrong partitioning columns > --------------------------------------------------------------- > > Key: HIVE-5149 > URL: https://issues.apache.org/jira/browse/HIVE-5149 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0, 0.12.0 > Reporter: Yin Huai > Assignee: Yin Huai > Attachments: HIVE-5149.1.patch, HIVE-5149.2.patch > > > https://mail-archives.apache.org/mod_mbox/hive-user/201308.mbox/%3CCAG6Lhyex5XPwszpihKqkPRpzri2k=m4qgc+cpar5yvr8sjt...@mail.gmail.com%3E -- 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