Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DC50181A5 for ; Mon, 1 Feb 2016 06:47:40 +0000 (UTC) Received: (qmail 43568 invoked by uid 500); 1 Feb 2016 06:47:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 43551 invoked by uid 500); 1 Feb 2016 06:47:39 -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 43521 invoked by uid 99); 1 Feb 2016 06:47:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 06:47:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C957D2C044E for ; Mon, 1 Feb 2016 06:47:39 +0000 (UTC) Date: Mon, 1 Feb 2016 06:47:39 +0000 (UTC) From: "Gopal V (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12968) genNotNullFilterForJoinSourcePlan: needs to merge predicates into the multi-AND 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-12968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125846#comment-15125846 ] Gopal V commented on HIVE-12968: -------------------------------- This change seems to be triggering many hidden optimizations. {code} ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out | 2313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------- ql/src/test/results/clientpositive/spark/spark_vectorized_dynamic_partition_pruning.q.out | 2515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------ {code} Join orders are changing due to the constant folding. > genNotNullFilterForJoinSourcePlan: needs to merge predicates into the multi-AND > ------------------------------------------------------------------------------- > > Key: HIVE-12968 > URL: https://issues.apache.org/jira/browse/HIVE-12968 > Project: Hive > Issue Type: Improvement > Components: Logical Optimizer > Affects Versions: 2.1.0 > Reporter: Gopal V > Assignee: Gopal V > Priority: Minor > Attachments: HIVE-12968.1.patch > > > {code} > predicate: ((cbigint is not null and cint is not null) and cint BETWEEN 1000000 AND 3000000) (type: boolean) > {code} > does not fold the IS_NULL on cint, because of the structure of the AND clause. > For example, see {{tez_dynpart_hashjoin_1.q}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)