[
https://issues.apache.org/jira/browse/DRILL-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251321#comment-14251321
]
Parth Chandra commented on DRILL-1886:
--------------------------------------
[~jaltekruse] please review
> 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
> Affects Versions: 0.7.0
> Reporter: Parth Chandra
> Assignee: Parth Chandra
> 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)