Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
FileMetaData::RowGroup(int i) and RowGroupMetaData::ColumnChunk 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.