You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Phillip Cloud (JIRA)" <ji...@apache.org> on 2017/06/22 19:41:00 UTC

[jira] [Updated] (PARQUET-1038) [C++] Key value metadata should be nullptr if not set

     [ https://issues.apache.org/jira/browse/PARQUET-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phillip Cloud updated PARQUET-1038:
-----------------------------------
    Summary: [C++] Key value metadata should be nullptr if not set  (was: Key value metadata should be nullptr if not set)

> [C++] 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)