[ https://issues.apache.org/jira/browse/HIVE-12025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945974#comment-14945974 ]
Eugene Koifman commented on HIVE-12025: --------------------------------------- [~sershe] or [~prasanth_j] could you review? > 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)