drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4974) NPE in FindPartitionConditions.analyzeCall() for 'holistic' expressions
Date Fri, 28 Oct 2016 00:33:58 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613792#comment-15613792
] 

ASF GitHub Bot commented on DRILL-4974:
---------------------------------------

Github user bitblender commented on the issue:

    https://github.com/apache/drill/pull/634
  
    @amansinha100 Can you please review this change. 


> 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.8.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)

Mime
View raw message