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 02FE8104FB for ; Tue, 17 Dec 2013 00:41:08 +0000 (UTC) Received: (qmail 50585 invoked by uid 500); 17 Dec 2013 00:41:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 50508 invoked by uid 500); 17 Dec 2013 00:41:07 -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 50500 invoked by uid 500); 17 Dec 2013 00:41:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 50496 invoked by uid 99); 17 Dec 2013 00:41:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 00:41:07 +0000 Date: Tue, 17 Dec 2013 00:41:07 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5973) SMB joins produce incorrect results with multiple partitions and buckets 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-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harish Butani updated HIVE-5973: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) thanks Vikram > SMB joins produce incorrect results with multiple partitions and buckets > ------------------------------------------------------------------------ > > Key: HIVE-5973 > URL: https://issues.apache.org/jira/browse/HIVE-5973 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.13.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Fix For: 0.13.0 > > Attachments: HIVE-5973.1.patch, HIVE-5973.2.patch > > > It looks like there is an issue with re-using the output object array in the select operator. When we read rows of the non-big tables, we hold on to the output object in the priority queue. This causes hive to produce incorrect results because all the elements in the priority queue refer to the same object and the join happens on only one of the buckets. > {noformat} > output[i] = eval[i].evaluate(row); > {noformat} -- This message was sent by Atlassian JIRA (v6.1.4#6159)