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 3A15DFB06 for ; Tue, 7 May 2013 02:35:17 +0000 (UTC) Received: (qmail 84536 invoked by uid 500); 7 May 2013 02:35:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84485 invoked by uid 500); 7 May 2013 02:35:16 -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 84476 invoked by uid 500); 7 May 2013 02:35:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84473 invoked by uid 99); 7 May 2013 02:35:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 02:35:16 +0000 Date: Tue, 7 May 2013 02:35:16 +0000 (UTC) From: "Lianhui Wang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4506) use one map reduce to join multiple small tables 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-4506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650380#comment-13650380 ] Lianhui Wang commented on HIVE-4506: ------------------------------------ if these have difference column, HIVE-3784 resolved one big table with multiple small tables. > use one map reduce to join multiple small tables > ------------------------------------------------- > > Key: HIVE-4506 > URL: https://issues.apache.org/jira/browse/HIVE-4506 > Project: Hive > Issue Type: Wish > Affects Versions: 0.10.0 > Reporter: Fern > Priority: Minor > > I know we can use map side join for small table. > by my test, if I use HQL like this > ------ > select /*+mapjoin(b,c)*/... > from a > left join b > on ... > left join c > on ... > ------- > b and c are both small tables, I expect do the join in one map reduce using map side join. Actually, it would generate two map-reduce jobs by sequence. > Sorry, currently I am just a user of hive and not dig into the code, so this is what I expect but I have no idea about how to improve now. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira