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 8696810D75 for ; Fri, 25 Oct 2013 18:46:51 +0000 (UTC) Received: (qmail 59708 invoked by uid 500); 25 Oct 2013 18:45:11 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59456 invoked by uid 500); 25 Oct 2013 18:44:48 -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 59427 invoked by uid 500); 25 Oct 2013 18:44:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59335 invoked by uid 99); 25 Oct 2013 18:44:31 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 18:44:31 +0000 Date: Fri, 25 Oct 2013 18:44:31 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5552) Merging of QBJoinTrees doesn't handle filter pushdowns correctly 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-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805577#comment-13805577 ] Hive QA commented on HIVE-5552: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12610330/HIVE-5552.2.patch {color:green}SUCCESS:{color} +1 4482 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1236/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1236/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. > Merging of QBJoinTrees doesn't handle filter pushdowns correctly > ---------------------------------------------------------------- > > Key: HIVE-5552 > URL: https://issues.apache.org/jira/browse/HIVE-5552 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-5552.1.patch, HIVE-5552.2.patch > > > The following query fails: > (this based on the schema from auto_join_filters.q) > {noformat} > explain > SELECT sum(hash(a.key,a.value,b.key,b.value)) > FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.value = b.value RIGHT OUTER JOIN myinput1 c > ON > b.value = c.value AND > a.key > 40 > {noformat} > Whereas this query succeeds > {noformat} > explain > SELECT sum(hash(a.key,a.value,b.key,b.value)) > FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c > ON a.value = b.value and > b.value = c.value AND > a.key > 40 > {noformat} > Pushing the first condition to the first join, triggers a merge of the 2 QBJoinTrees. During merge all the right side filters identified for pushing are assumed to refer to the merging table (b in this case). But the pushable filters can refer to any left table. -- This message was sent by Atlassian JIRA (v6.1#6144)