Skip to content
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

Data: Expose snapshot-id instead of branch for computing partition stats #12464

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

ajantha-bhat
Copy link
Member

@ajantha-bhat ajantha-bhat commented Mar 6, 2025

While adding the spark procedure, observed that puffin stats procedure exposes snapshot-id and partition stats procedure exposes branch name.
#12451 (comment)

There is no standard in Iceberg about which one to expose.
But keeping both the interface same will be useful for users. Hence, updating the partition stats interface to use snapshot id instead of branch name. This is not a breaking change as this API is added in the same version (unreleased).

@ajantha-bhat
Copy link
Member Author

@Fokko, @nastra: Can you please help in review and merge of this minor change?
I can rebase #12451 after this PR is merged.

Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

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

LGTM as well, Thanks @ajantha-bhat !

@nastra nastra merged commit 55e478b into apache:main Mar 6, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants