Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1855

[C++] Improve documentation on MetaData ownership

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fsaintjacques Francois Saint-Jacques
                Reporter:
                fsaintjacques Francois Saint-Jacques
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h