forked from apache/iceberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expire snapshots action without cache (apache#1344)
Instead of using a cache to preserve the state from before the expireSnapshots command, we preserve the table metadata via a StaticTable reference. This reference doesn't change when the Snapshosts are expired and allows us to look up all the files referenced by the prior version of the table without holding everything in memory.
- Loading branch information
1 parent
c75f004
commit d46c7d6
Showing
2 changed files
with
51 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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