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)

Reply via email to