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 0CD4B10C26 for ; Tue, 10 Dec 2013 21:50:08 +0000 (UTC) Received: (qmail 9447 invoked by uid 500); 10 Dec 2013 21:50:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 9340 invoked by uid 500); 10 Dec 2013 21:50: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 9331 invoked by uid 500); 10 Dec 2013 21:50:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 9328 invoked by uid 99); 10 Dec 2013 21:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 21:50:07 +0000 Date: Tue, 10 Dec 2013 21:50:07 +0000 (UTC) From: "Prasanth J (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5580) push down predicates with an and-operator between non-SARGable predicates will get NPE 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-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-5580: ----------------------------- Attachment: HIVE-5580.2.patch Refreshed this patch with trunk and also modified tests that referenced old unknown columns. > push down predicates with an and-operator between non-SARGable predicates will get NPE > -------------------------------------------------------------------------------------- > > Key: HIVE-5580 > URL: https://issues.apache.org/jira/browse/HIVE-5580 > Project: Hive > Issue Type: Bug > Components: File Formats > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Attachments: D13533.1.patch, HIVE-5580.2.patch > > > When all of the predicates in an AND-operator in a SARG expression get removed by the SARG builder, evaluation can end up with a NPE. Sub-expressions are typically removed from AND-operators because they aren't SARGable. -- This message was sent by Atlassian JIRA (v6.1.4#6159)