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 5918A17228 for ; Tue, 28 Oct 2014 02:23:34 +0000 (UTC) Received: (qmail 49989 invoked by uid 500); 28 Oct 2014 02:23:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 49913 invoked by uid 500); 28 Oct 2014 02:23:33 -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 49902 invoked by uid 500); 28 Oct 2014 02:23:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49899 invoked by uid 99); 28 Oct 2014 02:23:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 02:23:33 +0000 Date: Tue, 28 Oct 2014 02:23:33 +0000 (UTC) From: "Szehon Ho (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8202) Support SMB Join for Hive on Spark [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-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szehon Ho updated HIVE-8202: ---------------------------- Attachment: HIVE-8202.3-spark.patch > Support SMB Join for Hive on Spark [Spark Branch] > ------------------------------------------------- > > Key: HIVE-8202 > URL: https://issues.apache.org/jira/browse/HIVE-8202 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Szehon Ho > Attachments: HIVE-8202.1-spark.patch, HIVE-8202.2-spark.patch, HIVE-8202.3-spark.patch, Hive on Spark SMB Join.docx, Hive on Spark SMB Join.pdf > > > SMB joins are used wherever the tables are sorted and bucketed. It's a reduce-side join. The join boils down to just merging the already sorted tables, allowing this operation to be faster than an ordinary map-join. However, if the tables are partitioned, there could be a slow down as each mapper would need to get a very small chunk of a partition which has a single key. Thus, in some scenarios it's beneficial to convert SMB join to SMB map join as well. > The task is to research and support the conversion from regular SMB join to SMB map join for Spark execution engine. -- This message was sent by Atlassian JIRA (v6.3.4#6332)