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

Xuefu Zhang commented on HIVE-8017:
-----------------------------------

{quote}
For union_remove_25.q, the only diff is the total size of outputTbl2 (6812 -> 
6826). I checked the MR version and the total size is also 6812. I'm not sure 
what causes this difference.
{quote}

I have no clue either, but I had the same observation before. Nevertheless, 
this should be okay since the output data matches. It doesn't seem worth the 
time to drill down, at least for now.

> 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)

Reply via email to