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 16E84200C2E for ; Sun, 5 Mar 2017 23:44:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0B0B9160B6B; Sun, 5 Mar 2017 22:44:38 +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 54494160B57 for ; Sun, 5 Mar 2017 23:44:37 +0100 (CET) Received: (qmail 69526 invoked by uid 500); 5 Mar 2017 22:44:36 -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 69517 invoked by uid 99); 5 Mar 2017 22:44:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2017 22:44:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1072E18610E for ; Sun, 5 Mar 2017 22:44:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.454 X-Spam-Level: X-Spam-Status: No, score=0.454 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 8qSEDNQ05A6T for ; Sun, 5 Mar 2017 22:44:35 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AC5D45F4A7 for ; Sun, 5 Mar 2017 22:44:34 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BDB5AE0294 for ; Sun, 5 Mar 2017 22:44:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1D8E324166 for ; Sun, 5 Mar 2017 22:44:33 +0000 (UTC) Date: Sun, 5 Mar 2017 22:44:33 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-16113) PartitionPruner::removeNonPartCols needs to handle AND/OR cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 05 Mar 2017 22:44:38 -0000 [ https://issues.apache.org/jira/browse/HIVE-16113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896586#comment-15896586 ] Hive QA commented on HIVE-16113: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12856193/HIVE-16113.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 10324 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments] (batchId=229) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[pcr] (batchId=55) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[push_or] (batchId=15) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_rp_views] (batchId=142) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_views] (batchId=144) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[schema_evol_text_vec_table] (batchId=147) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[special_character_in_tabnames_1] (batchId=147) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=224) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[pcr] (batchId=120) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vector_between_in] (batchId=119) org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver.org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver (batchId=231) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3953/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3953/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3953/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 11 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12856193 - PreCommit-HIVE-Build > PartitionPruner::removeNonPartCols needs to handle AND/OR cases > --------------------------------------------------------------- > > Key: HIVE-16113 > URL: https://issues.apache.org/jira/browse/HIVE-16113 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Affects Versions: 1.2.1, 2.2.0, 2.1.1 > Reporter: Gopal V > Assignee: Gopal V > Attachments: HIVE-16113.1.patch > > > {code} > create table daysales (customer int) partitioned by (dt string); > insert into daysales partition(dt='2001-01-01') values(1); > select * from daysales where nvl(dt='2001-01-01' and customer=1, false); > 0 ROWS > {code} > https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java#L384 > {code} > 2017-03-05T12:37:47,153 WARN [6f053d71-6ad6-4ad0-833d-337f2d499c82 main] ppr.PartitionPruner: The expr = NVL(((dt = '2001-01-01') and null),false) > {code} > Because {{true and null => null}}, this turns into {{NVL(null, false)}} -- This message was sent by Atlassian JIRA (v6.3.15#6346)