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 7A388F5FF for ; Fri, 12 Apr 2013 11:00:17 +0000 (UTC) Received: (qmail 50936 invoked by uid 500); 12 Apr 2013 11:00:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 50798 invoked by uid 500); 12 Apr 2013 11:00: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 50761 invoked by uid 500); 12 Apr 2013 11:00:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 50756 invoked by uid 99); 12 Apr 2013 11:00:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 11:00:16 +0000 Date: Fri, 12 Apr 2013 11:00:16 +0000 (UTC) From: "Vikram Dixit K (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4106) SMB joins fail in multi-way joins 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-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629994#comment-13629994 ] Vikram Dixit K commented on HIVE-4106: -------------------------------------- [~namit] {noformat} select i_item_id ,i_item_desc ,i_current_price from item i join inventory inv on (inv.inv_item_sk = i.i_item_sk) join date_dim d on (d.d_date_sk = inv.inv_date_sk) join store_sales ss on (ss.ss_item_sk = i.i_item_sk) where i_current_price between 62 and 62+30.0 and d_date between '2000-05-25' and '2000-07-27' and i_manufact_id in (129,270,821,423) and inv_quantity_on_hand between 100 and 500 group by i_item_id,i_item_desc,i_current_price order by i_item_id limit 100; {noformat} This is the TPC-DS benchmark query (scale 1 but this does not matter) where store_sales and inventory are sorted as follows: store_sales: sorted by ss_item_sk, partitioned on ss_sold_date, clustered by ss_item_sk inventory: partitioned by (inv_date string) clustered by (inv_item_sk) sorted by (inv_item_sk) item: non-partitioned, bucketed clustered by (i_item_sk) sorted by (i_item_sk) date_dim: non-partitioned, non-bucketed. > SMB joins fail in multi-way joins > --------------------------------- > > Key: HIVE-4106 > URL: https://issues.apache.org/jira/browse/HIVE-4106 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Priority: Blocker > Attachments: auto_sortmerge_join_12.q, HIVE-4106.patch > > > I see array out of bounds exception in case of multi way smb joins. This is related to changes that went in as part of HIVE-3403. This issue has been discussed in HIVE-3891. -- 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