hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8017) Use HiveKey instead of BytesWritable as key type of the pair RDD [Spark Branch]
Date Wed, 10 Sep 2014 02:19:28 GMT

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

Brock Noland commented on HIVE-8017:
------------------------------------

Let's make that change (adding SORT_BEFORE_DIFF ) on trunk and then we can merge it in. Otherwise
if there are any updates to the file in trunk it will be a lot of work to do the merge.

Thanks!

> Use HiveKey instead of BytesWritable as key type of the pair RDD [Spark Branch]
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-8017
>                 URL: https://issues.apache.org/jira/browse/HIVE-8017
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Spark
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-8017-spark.patch, HIVE-8017.2-spark.patch
>
>
> HiveKey should be used as the key type because it holds the hash code for partitioning.
While BytesWritable serves partitioning well for simple cases, we have to use {{HiveKey.hashCode}}
for more complicated ones, e.g. join, bucketed table, etc.



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

Mime
View raw message