Skip to content

Delete files synchronously during snapshot expiration - #710

Closed
mkuchenbecker wants to merge 2 commits into
linkedin:mainfrom
mkuchenbecker:mkuchenbecker/synchronous-snapshot-expiration-delete
Closed

Delete files synchronously during snapshot expiration#710
mkuchenbecker wants to merge 2 commits into
linkedin:mainfrom
mkuchenbecker:mkuchenbecker/synchronous-snapshot-expiration-delete

Conversation

@mkuchenbecker

@mkuchenbecker mkuchenbecker commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Enable Iceberg file cleanup during snapshot expiration so expired files are deleted synchronously.

Testing Done

  • git diff --check
  • ./gradlew :apps:spark:test --tests com.linkedin.openhouse.jobs.spark.OperationsTest (the repository's Gradle hook setup assumes .git is a directory and fails in Git worktrees)

Test is mostly a tautology.

mkuchenbecker and others added 2 commits September 2, 2026 12:50
Enable Iceberg's synchronous file cleanup when expiring snapshots so files are removed as part of the operation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Guard the synchronous cleanup setting by verifying that snapshot expiration configures Iceberg to clean expired files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mkuchenbecker
mkuchenbecker marked this pull request as ready for review September 2, 2026 20:05
@mkuchenbecker

Copy link
Copy Markdown
Collaborator Author

#447

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.

1 participant