You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Francois Saint-Jacques (Jira)" <ji...@apache.org> on 2020/05/04 15:33:00 UTC
[jira] [Created] (PARQUET-1855) [C++] Improve documentation on
Metadata ownership
Francois Saint-Jacques created PARQUET-1855:
-----------------------------------------------
Summary: [C++] Improve documentation on Metadata ownership
Key: PARQUET-1855
URL: https://issues.apache.org/jira/browse/PARQUET-1855
Project: Parquet
Issue Type: Improvement
Components: parquet-cpp
Reporter: Francois Saint-Jacques
I had to look at the implementation to understand what are the lifetime relationship for the following objects:
* FileMetaData
* RowGroupMetaData
* ColumnChunkMetaData
From what I gather, a reference to the top-level FileMetaData must be hold for any of the children objects (RowGroupMetaData and ColumnChunkMetaData) lifetime. It is unclear if the original buffer from which the metadata was deserialized must be hold for the lifetime of the FIleMetaData object, I suspect it does not need to be kept.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)