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 96FC2D4FE for ; Thu, 28 Feb 2013 09:01:19 +0000 (UTC) Received: (qmail 28998 invoked by uid 500); 28 Feb 2013 09:01:19 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 28956 invoked by uid 500); 28 Feb 2013 09:01:18 -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 28922 invoked by uid 500); 28 Feb 2013 09:01:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 28916 invoked by uid 99); 28 Feb 2013 09:01:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 09:01:17 +0000 Date: Thu, 28 Feb 2013 09:01:17 +0000 (UTC) From: "Vikram Dixit K (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-3891) physical optimizer changes for auto sort-merge join 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-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikram Dixit K updated HIVE-3891: --------------------------------- Attachment: auto_sortmerge_join_1.q.out auto_sortmerge_join_1.q Hi Namit, I have added some more variations to the queries in auto_sortmerge_join_1.q. I originally did not catch that there was a SMB map join in stage-1. That as you say is correct. One thing I see is that if I try to join sorted, bucketed tables on different keys (last join in the attached file), I see a SMB Map join operator followed by a reduce side join. It seems like the reduce side join could actually become a map join operator. Is this possible? Thanks Vikram. > physical optimizer changes for auto sort-merge join > --------------------------------------------------- > > Key: HIVE-3891 > URL: https://issues.apache.org/jira/browse/HIVE-3891 > Project: Hive > Issue Type: Bug > Reporter: Namit Jain > Assignee: Namit Jain > Attachments: auto_sortmerge_join_1.q, auto_sortmerge_join_1.q.out, hive.3891.1.patch, hive.3891.2.patch, hive.3891.3.patch, hive.3891.4.patch, hive.3891.5.patch, hive.3891.6.patch, hive.3891.7.patch > > -- 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