-
Notifications
You must be signed in to change notification settings - Fork 59
feat: add metadata updates and requirements interface #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
537df38
to
b147683
Compare
This commit introduces the metadata update and update requirements system for table metadata modifications.
b147683
to
d76a780
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was initially confused about renaming MetadataUpdate
to TableUpdate
and UpdateRequirement
to TableRequirement
, but after checking the iceberg-rust and iceberg-python implementations, it now makes sense to me.
return input; | ||
} | ||
|
||
static bool EqualsIgnoreCase(const std::string& a, const std::string& b) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: We have some operator==
definitions that use lhs
/rhs
as the parameters names, should we follow the same convention here?
table.cc | ||
table_metadata.cc | ||
table_properties.cc | ||
table_requirement.cc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you should also add these files to meson.build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Perhaps the CI does not fail because the file is not referenced by others.
While I know both WDYT? @Fokko @liurenjie1024 |
Thanks @wgtmac for pinging me. I prefer to add an prefix to improve readability. |
This commit introduces the metadata update and update requirements system for table metadata modifications.