[ 
https://issues.apache.org/jira/browse/HIVE-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754076#comment-13754076
 ] 

Yin Huai commented on HIVE-5149:
--------------------------------

Right, we should only use key as the partitioning column.

Actually, the example I posted above is from test file 
"reduce_deduplicate_extended.q". The plan of "explain from (select key, value 
from src group by key, value) s select s.key group by s.key" in hive trunk is 
wrong. 
                
> 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

Reply via email to