Skip to content

Conversation

@shangxinli
Copy link
Contributor

Fix table_requirement by implementing AssertCurrentSchemaID::Validate()

This PR implements the missing AssertCurrentSchemaID::Validate() method in table_requirement.cc, enabling proper validation of schema ID requirements for optimistic concurrency control in table operations.

This is my first contribution to iceberg-cpp. I plan to implement the remaining validation methods in next PRs.

Copy link
Collaborator

@zhjwpku zhjwpku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for one small nit about the comment.

Co-authored-by: Junwang Zhao <zhjwpku@gmail.com>
@wgtmac wgtmac changed the title Add validation for AssertCurrentSchemaID feat: Add validation for AssertCurrentSchemaID Nov 3, 2025
@wgtmac wgtmac merged commit 1a6f9c8 into apache:main Nov 4, 2025
10 checks passed
@wgtmac
Copy link
Member

wgtmac commented Nov 4, 2025

Thanks @shangxinli for working on it and @zhjwpku @gty404 for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants