Parth Chandra created DRILL-1886: ------------------------------------ Summary: 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
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)