Removes Caching from ExpireSnapshotAction#1343
Closed
RussellSpitzer wants to merge 6 commits intoapache:masterfrom
Closed
Removes Caching from ExpireSnapshotAction#1343RussellSpitzer wants to merge 6 commits intoapache:masterfrom
RussellSpitzer wants to merge 6 commits intoapache:masterfrom
Conversation
Previously ther only way to expire snapshots was through a single machine table operation with RemoveSnapshots. In this patch we add a new Spark Action which does the same work, but does so in a scalable way. Instead of using the old logic for analyzing files to remove, we use the Metadata Table representations of the table both before and after Snapshot Expiration to determine un-needed files.
Lazy construction of Expire Snapshots Action. Processing of deletes using Local Iterator Ignoring Versioning Files Adding ExecutorService Option Like RemoveSnapshots
Move getManifestLists / getOtherManifestPaths to Core Module Fixup of doc typos
Refactoring of Tests, All tests use only table.operations no Spark Writes All tests now check file deletions Renaming of class methods to fit style Removal of TableUtils, Functions moved back into BaseAction ExpireSnapshotsAction defaults to single threaded deleter
parthchandra
pushed a commit
to parthchandra/iceberg
that referenced
this pull request
Oct 22, 2025
…n) (apache#1343) * API, Spark 3.5: Action to compute table stats (apache#10288) (cherry picked from commit 2f6e7e6) * Spark 3.4: Action to compute table stats (apache#11106) (cherry picked from commit 5582b0c) * Spark 3.4: Add utility to load table state reliably (apache#11115) (cherry picked from commit d5b21d8) * Cheery-pick data-sketches lib version chnage from apache@cbe391d#diff-697f70cdd88ba88fe77eebda60c7e143f6ad1286bca75017421e93ad84fb87df --------- Co-authored-by: Karuppayya <[email protected]> Co-authored-by: Hongyue/Steve Zhang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires #1342