[
https://issues.apache.org/jira/browse/HIVE-12025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945998#comment-14945998
]
Eugene Koifman commented on HIVE-12025:
---------------------------------------
https://reviews.apache.org/r/39065/
there is no logic changes - this purely refactoring
> 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
> Attachments: HIVE-12025.patch
>
>
> 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)