-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Spark: support statistics files in RewriteTablePath #11929
Conversation
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions. |
Not stale, will rebase |
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.
Sorry this slipped, this mostly looks good, just small subjective code suggestions.
...k/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteTablePathSparkAction.java
Outdated
Show resolved
Hide resolved
...k/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteTablePathSparkAction.java
Show resolved
Hide resolved
Check for partition stats
e58b461
to
b5a2981
Compare
Merged, thanks @dramaticlly ! and @flyrain for additional review! |
Thanks you @szehon-ho ! |
Statistics files are helpful to determine the NDV for each columns in a table and can be collected via engines like trino or spark
This patch help support table statistics files as part of rewrite table path spark action.
@szehon-ho @flyrain if you want to take a look