Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23897119FF for ; Fri, 12 Sep 2014 14:30:35 +0000 (UTC) Received: (qmail 97879 invoked by uid 500); 12 Sep 2014 14:30:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 97741 invoked by uid 500); 12 Sep 2014 14:30:34 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 97552 invoked by uid 500); 12 Sep 2014 14:30:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 97548 invoked by uid 99); 12 Sep 2014 14:30:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 14:30:34 +0000 Date: Fri, 12 Sep 2014 14:30:34 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-8017) Use HiveKey instead of BytesWritable as key type of the pair RDD [Spark Branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131603#comment-14131603 ] Xuefu Zhang edited comment on HIVE-8017 at 9/12/14 2:30 PM: ------------------------------------------------------------ {quote} do you think we need a JIRA to track this difference so we can find the cause when we have time {quote} Yes, please. I will commit this patch shortly. was (Author: xuefuz): {quote} do you think we need a JIRA to track this difference so we can find the cause when we have time {quote} Yes, please. > 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, HIVE-8017.3-spark.patch, HIVE-8017.4-spark.patch, HIVE-8017.5-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)