[
https://issues.apache.org/jira/browse/PARQUET-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688777#comment-15688777
]
Mike Trinkala commented on PARQUET-780:
---------------------------------------
I understand that but if the definition level is set incorrectly, as was the
case here, this can cause the library to crash. A simple NULL check instead of
calling WriteValues(1, NULL) could throw an exception instead going into
undefined behavior.
> 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)