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

Mike Trinkala commented on PARQUET-780:
---------------------------------------

The definition level is an array of size 1 with a value of 1 (which is the max 
definition level in this case) So if I am reading this correctly it will cause 
values_to_write to be incremented and a write will be attempted using the NULL 
array.

> WriterBatch API does not properly handle NULL values for byte array types
> -------------------------------------------------------------------------
>
>                 Key: PARQUET-780
>                 URL: https://issues.apache.org/jira/browse/PARQUET-780
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>    Affects Versions: cpp-0.1
>            Reporter: Mike Trinkala
>
> Passing a NULL 'values' parameter into WriteBatch for a *ByteArray type will 
> cause a segfault in the dictionary encoder.
> Related: https://issues.apache.org/jira/browse/PARQUET-719



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

Reply via email to