hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Chun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5056) MapJoinProcessor ignores order of values in removing RS
Date Sun, 11 Aug 2013 13:48:48 GMT

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

Chen Chun commented on HIVE-5056:
---------------------------------

Hi, [~navis]. I and [~wzc1989] finally find the problem after a week of seeking. Since "deal".hashCode()%16=12,
"dim_pay_date".hashCode()%16=12, in SemanticAnalyzer#genJoinOperatorChildren, we put "deal",
"dim_pay_date" in hash map in sequence, however in MapJoinProcessor#convertMapJoin, we put
"dim_pay_date", "deal" in hash map in sequence. And because of hash collision, the traversal
order is related to the order of elements putting in the hashmap and result in bug.
                
> MapJoinProcessor ignores order of values in removing RS
> -------------------------------------------------------
>
>                 Key: HIVE-5056
>                 URL: https://issues.apache.org/jira/browse/HIVE-5056
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-5056.D12147.1.patch
>
>
> http://www.mail-archive.com/user@hive.apache.org/msg09073.html

--
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

Mime
View raw message