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

Steven Phillips commented on DRILL-2765:
----------------------------------------

This seems to already be fixed:

{code}
0: jdbc:drill:> select * from 
dfs.`/tmp/nulls/url_column_completely_null.parquet`;
+------------+------------+
|    date    |    url     |
+------------+------------+
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
| 14 april 2015 | null       |
+------------+------------+
{code}


When I checkout 0.8 and run again, I hit the NPE:

{code}
0: jdbc:drill:> select * from 
dfs.`/tmp/nulls/url_column_completely_null.parquet`;
Query failed: NullPointerException:

Error: exception while executing query: Failure while executing query. 
(state=,code=0)
{code}

> Throwing a  NPE on exceuting query against parquet files
> --------------------------------------------------------
>
>                 Key: DRILL-2765
>                 URL: https://issues.apache.org/jira/browse/DRILL-2765
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Storage - Parquet
>    Affects Versions: 0.8.0
>            Reporter: Mohsen Zainalpour
>            Assignee: Steven Phillips
>             Fix For: 1.0.0
>
>         Attachments: url_column_completely_null.parquet, 
> url_column_onetime_value.parquet
>
>
> Executing a query on a parquet file that one of it`s columns haven`t any 
> value at all(but field exists in the schema) thorws a NPE



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

Reply via email to