Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C37F200B78 for ; Fri, 19 Aug 2016 01:25:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2ABE1160AB7; Thu, 18 Aug 2016 23:25:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 733F4160AAE for ; Fri, 19 Aug 2016 01:25:22 +0200 (CEST) Received: (qmail 52706 invoked by uid 500); 18 Aug 2016 23:25:21 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 52697 invoked by uid 99); 18 Aug 2016 23:25:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 23:25:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 827DD2C0032 for ; Thu, 18 Aug 2016 23:25:21 +0000 (UTC) Date: Thu, 18 Aug 2016 23:25:21 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14522) CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix test failure for auto_join_filters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 Aug 2016 23:25:23 -0000 [ https://issues.apache.org/jira/browse/HIVE-14522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-14522: ------------------------------------ Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Pushed to master. Thanks, Vineet! > CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix test failure for auto_join_filters > --------------------------------------------------------------------------------------------------- > > Key: HIVE-14522 > URL: https://issues.apache.org/jira/browse/HIVE-14522 > Project: Hive > Issue Type: Sub-task > Components: CBO > Reporter: Vineet Garg > Assignee: Vineet Garg > Fix For: 2.2.0 > > Attachments: HIVE-14522.1.patch, HIVE-14522.2.patch > > > {code} > CREATE TABLE smb_input1(key int, value int) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; > CREATE TABLE smb_input2(key int, value int) CLUSTERED BY (value) SORTED BY (value) INTO 2 BUCKETS; > LOAD DATA LOCAL INPATH '../../data/files/in1.txt' into table smb_input1; > LOAD DATA LOCAL INPATH '../../data/files/in2.txt' into table smb_input1; > LOAD DATA LOCAL INPATH '../../data/files/in1.txt' into table smb_input2; > LOAD DATA LOCAL INPATH '../../data/files/in2.txt' into table smb_input2; > SET hive.optimize.bucketmapjoin = true; > SET hive.optimize.bucketmapjoin.sortedmerge = true; > SET hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; > SET hive.outerjoin.supports.filters = false; > {code} > {code} SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; {code} > {code} Expected result: 3078400 Actual result: 4937935 {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)