[
https://issues.apache.org/jira/browse/PARQUET-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phillip Cloud updated PARQUET-1038:
-----------------------------------
Summary: Key value metadata should be nullptr if not set (was: [C++] Key
value metadata should be nullptr if not set)
> Key value metadata should be nullptr if not set
> -----------------------------------------------
>
> Key: PARQUET-1038
> URL: https://issues.apache.org/jira/browse/PARQUET-1038
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Affects Versions: cpp-1.1.0
> Reporter: Phillip Cloud
> Fix For: cpp-1.2.0
>
>
> Key value metadata is initialized with
> {{std::make_shared<KeyValueMetadata>()}} which returns a pointer to an empty
> instance of {{KeyValueMetadata}}. This breaks Arrow's deserialization of
> metadata because it distinguishes between {{nullptr}} and empty metadata.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)