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

[Delta Uniform] Support expireSnapshot in uniform iceberg table automatically when OPTIMIZE #3298

Merged

Conversation

ChengJi-db
Copy link
Contributor

@ChengJi-db ChengJi-db commented Jun 24, 2024

Description

Issue: the current uniform iceberg table doesn't have a mechanism to cleanup old manifest/manifest list files, which adds great storage maintenance overhead
Proposed: when OPTIMIZE is running on uniform delta table, it will trigger the expireSnapshot operation on corresponding iceberg table to do cleanup on manifests. The OPTIMIZE is chosen as the trigger since it's recommended to run frequently on delta table and iceberg's expireSnapshot is also recommended to run frequently (once every day)

How was this patch tested?

Manually tested

@ChengJi-db ChengJi-db force-pushed the expireSnapshotForUniformIceberg branch from f3fb6b7 to 67fd4d7 Compare June 24, 2024 17:52
@lzlfred
Copy link
Contributor

lzlfred commented Jun 25, 2024

lgtm

@vkorukanti vkorukanti merged commit 7bb9792 into delta-io:master Jun 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants