-
Notifications
You must be signed in to change notification settings - Fork 239
feat: Add SnapshotSummaries
#1085
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
Conversation
} | ||
|
||
#[allow(dead_code)] | ||
impl SnapshotSummaryCollector { |
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.
Looks like we should provide function like set(string,string)
to let user set custom properities
https://github.com/apache/iceberg/blob/4dbcdfc85a64dc1d97d7434e353c7f9e4c18e1b3/core/src/main/java/org/apache/iceberg/SnapshotSummary.java#L152
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.
Should be fixed, this pr mostly includes the previous implementation from @barronw. I can create a follow up pr for merging summaries, duplicate deletes, manifest handling.
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.
Thanks @jonathanc-n for this nice pr, generally LGTM! Just some minor comments.
@liurenjie1024 Done! thank you for your reivew |
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.
Thanks @jonathanc-n for this pr!
Which issue does this PR close?
What changes are included in this PR?
This is the building block to implementing snapshot summaries. Most of the implementation code is built off of @barronw 's very nice commit. Most of the added lines are also just tests. A follow up pr will be included integrating it with the rest of the codebase.
Are these changes tested?
Yes, unit test