[ 
https://issues.apache.org/jira/browse/DRILL-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Hsuan-Yi Chu updated DRILL-1886:
-------------------------------------
    Fix Version/s:     (was: 0.9.0)
                   0.8.0

> NPE in queries with a project on a subquery with Union all
> ----------------------------------------------------------
>
>                 Key: DRILL-1886
>                 URL: https://issues.apache.org/jira/browse/DRILL-1886
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 0.7.0
>            Reporter: Parth Chandra
>            Assignee: Sean Hsuan-Yi Chu
>             Fix For: 0.8.0
>
>         Attachments: DRILL-1886.patch, mobile-small-copy.json.gz
>
>
> The following query (data file attached) causes a NPE:
> select trans_id from 
> (
>    select trans_id, trans_id as ti from dfs.`mobile-small-copy.json.gz` where 
> trans_id = 19999 
> union all 
>   select trans_id, trans_id as ti from dfs.`mobile-small-copy.json.gz` where 
> trans_id = 19998
> )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to