Francois Saint-Jacques created PARQUET-1867:
-----------------------------------------------
Summary: [C++] Fix MetaData children object lifetime issues
Key: PARQUET-1867
URL: https://issues.apache.org/jira/browse/PARQUET-1867
Project: Parquet
Issue Type: Improvement
Components: parquet-cpp
Reporter: Francois Saint-Jacques
FileMetaData::RowGroup(int i) and RowGroupMetaData::ColumnChunk(i) returns
both a unique_ptr<T> which gives the impression that the object are
self-contained and safe to own without any lifetime issue.
The reality is that the caller must hold the lifetime of the parent object. We
should change the signature to a const-ref instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)