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 D470BE259 for ; Thu, 31 Jan 2013 12:11:17 +0000 (UTC) Received: (qmail 40955 invoked by uid 500); 31 Jan 2013 12:11:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40701 invoked by uid 500); 31 Jan 2013 12:11:14 -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 40665 invoked by uid 500); 31 Jan 2013 12:11:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40657 invoked by uid 99); 31 Jan 2013 12:11:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 12:11:14 +0000 Date: Thu, 31 Jan 2013 12:11:14 +0000 (UTC) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-3403) user should not specify mapjoin to perform sort-merge bucketed join MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3403?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13567= 412#comment-13567412 ]=20 Namit Jain edited comment on HIVE-3403 at 1/31/13 12:11 PM: ------------------------------------------------------------ To help=09in review, the class hierarchy is: bq. AbstractBucketJoinProc AbstractSMBJoinProc SortedMergeBucketMapjoinProc SortedMergeJoinProc BucketMapjoinOptProc The context needed is: BucketJoinOptProcCtx SortBucketJoinOptProcCtx Most of the code in AbstractBucketJoinProc and AbstractSMBJoinProc is old c= ode moved. BucketMapjoinOptProc is also old code =E2=80=93 but there has been little r= efactoring to break it up into context. As such, the only new code is SortedMergeJoinProc. Due to the refactoring, = I am=09able to=09re-use a lot of=09code between=09map-join and join processing. =20 was (Author: namit): To help=09in review, the class hierarchy is: AbstractBucketJoinProc AbstractSMBJoinProc SortedMergeBucketMapjoinProc SortedMergeJoinProc BucketMapjoinOptProc The context needed is: BucketJoinOptProcCtx SortBucketJoinOptProcCtx Most of the code in AbstractBucketJoinProc and AbstractSMBJoinProc is old c= ode moved. BucketMapjoinOptProc is also old code =E2=80=93 but there has been little r= efactoring to break it up into context. As such, the only new code is SortedMergeJoinProc. Due to the refactoring, = I am=09able to=09re-use a lot of=09code between=09map-join and join processing. =20 > user should not specify mapjoin to perform sort-merge bucketed join > ------------------------------------------------------------------- > > Key: HIVE-3403 > URL: https://issues.apache.org/jira/browse/HIVE-3403 > Project: Hive > Issue Type: Bug > Reporter: Namit Jain > Assignee: Namit Jain > Attachments: hive.3403.10.patch, hive.3403.11.patch, hive.3403.12= .patch, hive.3403.13.patch, hive.3403.14.patch, hive.3403.15.patch, hive.34= 03.16.patch, hive.3403.17.patch, hive.3403.18.patch, hive.3403.19.patch, hi= ve.3403.1.patch, hive.3403.21.patch, hive.3403.22.patch, hive.3403.23.patch= , hive.3403.24.patch, hive.3403.2.patch, hive.3403.3.patch, hive.3403.4.pat= ch, hive.3403.5.patch, hive.3403.6.patch, hive.3403.7.patch, hive.3403.8.pa= tch, hive.3403.9.patch > > > Currently, in order to perform a sort merge bucketed join, the user needs > to set hive.optimize.bucketmapjoin.sortedmerge to true, and also specify = the=20 > mapjoin hint. > The user should not specify any hints. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira