xndai commented on code in PR #1169:
URL: https://github.com/apache/iceberg-cpp/pull/1169#discussion_r4724728982


##########
src/iceberg/table_metadata.cc:
##########
@@ -321,6 +321,45 @@ Result<std::shared_ptr<Snapshot>> 
TableMetadata::SnapshotById(int64_t snapshot_i
   return *iter;
 }
 
+Status TableMetadata::Validate() const {

Review Comment:
   For example - current-snapshot-id must exist, main branch must match 
current-snapshot-id, etc. but can be done in a follow up.



-- 
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