Repository navigation
docs: explain how to configure deletedFileRetentionDuration - #4832
Merged
ethan-tyler merged 2 commits intoOct 8, 2026
Merged
ethan-tyler merged 2 commits into
ethan-tyler merged 2 commits into
Conversation
Signed-off-by: Shahzeb Ali <[email protected]>
Shahzeb-DataEngineer
requested review from
ethan-tyler,
ion-elgreco and
rtyler
as code owners
October 7, 2026 19:10
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4832 +/- ##
==========================================
- Coverage 81.94% 81.94% -0.01%
==========================================
Files 200 200
Lines 74476 74476
Branches 74476 74476
==========================================
- Hits 61029 61027 -2
- Misses 9867 9870 +3
+ Partials 3580 3579 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
adamreeve
reviewed
Oct 7, 2026
Replace the blanket 7-day recommendation with guidance matching the official Delta Lake table properties docs: the retention window should be longer than the longest-running job or streaming query against the table, since concurrent readers or writers may still reference files that VACUUM would then delete. Signed-off-by: Shahzeb Ali <[email protected]>
adamreeve
approved these changes
Oct 8, 2026
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.
Description
Documents how to configure the
delta.deletedFileRetentionDurationtable property, which controls the vacuum retention window.docs/usage/managing-tables.md, with examples for setting it at table creation (write_deltalake(..., configuration=...)) and on existing tables (dt.alter.set_table_properties(...)), plus a note on the 7-day minimum.retention_hoursparameter in theDeltaTable.vacuum()docstring to point at the table property.Related Issue(s)