[
https://issues.apache.org/jira/browse/PARQUET-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687189#comment-15687189
]
Deepak Majeti commented on PARQUET-780:
---------------------------------------
I guess your definition level is incorrect.
Is the first element of your {{def_levels}} array equal to {{0}} ? (Assuming
you are writing a primitive column)
Looking at the call stack, the call below is not the right path when writing a
NULL value.
#1 parquet::DictEncoder<parquet::DataType<(parquet::Type::type)6> >::Put
(v=..., this=0x647840)
at /work/parquet-cpp/src/parquet/encodings/dictionary-encoding.h:332
> 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)