hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12945) Bucket pruning: bucketing for -ve hashcodes have historical issues
Date Wed, 27 Jan 2016 22:22:39 GMT

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

Sergey Shelukhin commented on HIVE-12945:
-----------------------------------------

Ah, that's a bitset. NM, +1 pending tests

> Bucket pruning: bucketing for -ve hashcodes have historical issues
> ------------------------------------------------------------------
>
>                 Key: HIVE-12945
>                 URL: https://issues.apache.org/jira/browse/HIVE-12945
>             Project: Hive
>          Issue Type: Bug
>          Components: Tez
>    Affects Versions: 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Critical
>         Attachments: HIVE-12945.1.patch
>
>
> The different ETL pathways differed in reducer choice slightly for -ve hashcodes.
> {code}
> (hashCode & Integer.MAX_VALUE) % numberOfBuckets;
> !=
> Math.abs(hashCode) % numberOfBuckets
> {code}
> Add a backwards compat option, which can be used to protect against old data left over
from 0.13.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message