You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/10/02 21:41:26 UTC

[jira] [Created] (HIVE-12025) refactor bucketId generating code

Eugene Koifman created HIVE-12025:
-------------------------------------

             Summary: refactor bucketId generating code
                 Key: HIVE-12025
                 URL: https://issues.apache.org/jira/browse/HIVE-12025
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 1.0.1
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman


HIVE-11983 adds ObjectInspectorUtils.getBucketHashCode() and getBucketNumber().

There are several (at least) places in Hive that perform this computation:
# ReduceSinkOperator.computeBucketNumber
# ReduceSinkOperator.computeHashCode
# BucketIdResolverImpl - only in 2.0.0 ASF line
# FileSinkOperator.findWriterOffset
# GenericUDFHash

Should refactor it and make sure they all call methods from ObjectInspectorUtils.



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