wgtmac commented on code in PR #1169:
URL: https://github.com/apache/iceberg-cpp/pull/1169#discussion_r4715284972
##########
src/iceberg/table_metadata.h:
##########
@@ -169,6 +169,10 @@ struct ICEBERG_EXPORT TableMetadata {
/// \brief Get the next sequence number
int64_t NextSequenceNumber() const;
+ /// \brief Validate the table's sequence number and row ID bounds against
retained
+ /// snapshots. The bounds can exceed retained values after newer snapshots
expire.
+ Status ValidateSequenceAndRowIdBounds() const;
Review Comment:
Why not just adding a `Validate` function and validate everything? Otherwise
we may need to rename it in the future once we intend to validate more values.
--
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]