manuzhang opened a new issue, #1200:
URL: https://github.com/apache/iceberg-cpp/issues/1200

   Table metadata records the current snapshot in `current-snapshot-id` and can 
also identify it through the `main` branch in `refs`. Today, a metadata file 
can name a current snapshot that is absent from its snapshot list, or it can 
point `current-snapshot-id` and `refs.main` at different snapshots.
   
   Extend `TableMetadata::Validate()` to check these relationships in full 
table metadata. Cover a dangling current snapshot ID and a disagreement between 
two existing snapshots. Preserve support for tables without a current snapshot 
and for metadata that omits `refs`, where the reader derives `main` from the 
current snapshot ID.
   
   Requested by xndai in the [review of 
#1169](https://github.com/apache/iceberg-cpp/pull/1169#discussion_r4724700452).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to