You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Masood Parvari (JIRA)" <ji...@apache.org> on 2015/04/14 09:36:13 UTC

[jira] [Comment Edited] (DRILL-2765) Throwing a NPE on exceuting query against parquet files

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

Masood Parvari edited comment on DRILL-2765 at 4/14/15 7:36 AM:
----------------------------------------------------------------

yes of course. I attached 2 files. the proto file is :

message Log
{ 
    optional string date = 1; 
    optional string url = 2; 
}

in the files,one sample record is written repeatedly. File url_column_completely_null.parquet, as the name suggests have a complete null column. File url_column_onetime_value.parquet, in just one record, has value for 'url' column. The latter can be queried by drill while the former throws a null pointer exception


was (Author: masood):
yes of course. I will attach 2 file. the proto file is :

message Log
{ 
    optional string date = 1; 
    optional string url = 2; 
}

in the files,one sample record is written repeatedly. File url_column_completely_null.parquet, as the name suggests have a complete null column. File url_column_onetime_value.parquet, in just one record, has value for 'url' column. The latter can be queried by drill while the former throws a null pointer exception

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