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 C4F8C200BC4 for ; Sat, 5 Nov 2016 01:44:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C38A6160B04; Sat, 5 Nov 2016 00:44:59 +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 3ED67160AFE for ; Sat, 5 Nov 2016 01:44:59 +0100 (CET) Received: (qmail 10565 invoked by uid 500); 5 Nov 2016 00:44:58 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 10549 invoked by uid 99); 5 Nov 2016 00:44:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2016 00:44:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 552602C0057 for ; Sat, 5 Nov 2016 00:44:58 +0000 (UTC) Date: Sat, 5 Nov 2016 00:44:58 +0000 (UTC) From: "Kunal Khatua (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4974) NPE in FindPartitionConditions.analyzeCall() for 'holistic' expressions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 05 Nov 2016 00:45:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15638210#comment-15638210 ] Kunal Khatua commented on DRILL-4974: ------------------------------------- [~cchang@maprtech.com] Please verify this to close the bug and add a test case to the regression test suite. > NPE in FindPartitionConditions.analyzeCall() for 'holistic' expressions > ----------------------------------------------------------------------- > > Key: DRILL-4974 > URL: https://issues.apache.org/jira/browse/DRILL-4974 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Relational Operators > Affects Versions: 1.6.0, 1.7.0, 1.8.0 > Reporter: Karthikeyan Manivannan > Assignee: Karthikeyan Manivannan > Fix For: 1.9.0 > > Original Estimate: 2h > Remaining Estimate: 2h > > The following query can cause an NPE in FindPartitionConditions.analyzeCall() if the fileSize column is a partitioned column. > SELECT fileSize FROM dfs.`/drill-data/data/` WHERE compoundId LIKE 'FOO-1234567%' > This is because, the LIKE is treated as a holistic expression in FindPartitionConditions.analyzeCall(), causing opStack to be empty, thus causing opStack.peek() to return a NULL value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)