You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/03/10 18:21:40 UTC

[jira] [Resolved] (DRILL-1886) NPE in queries with a project on a subquery with Union all

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

Sean Hsuan-Yi Chu resolved DRILL-1886.
--------------------------------------
    Resolution: Fixed

Resolved in commit #: 0368adf0c

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