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

Document how use "deletedFileRetentionDuration" #2252

Open
thomasfrederikhoeck opened this issue Mar 6, 2024 · 6 comments
Open

Document how use "deletedFileRetentionDuration" #2252

thomasfrederikhoeck opened this issue Mar 6, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@thomasfrederikhoeck
Copy link
Contributor

Description

The vacuum command mentions "configuration.deletedFileRetentionDuration" but it is not really clear how to set it. https://delta-io.github.io/delta-rs/api/delta_table/#deltalake.DeltaTable.vacuum . In general it seems like the docs on configuration are a little sparse :-)

Use Case

Change the delta table to have a longer rention.

Related Issue(s)

@thomasfrederikhoeck thomasfrederikhoeck added the enhancement New feature or request label Mar 6, 2024
@ion-elgreco
Copy link
Collaborator

@thomasfrederikhoeck
Copy link
Contributor Author

@ion-elgreco Thank you. I still think it would be nice to have this in the documentation. I can make a PR. Is it possible only to set the configurations when you create the table in delta-rs or is it also possible to change it afterwards?

@ion-elgreco
Copy link
Collaborator

ion-elgreco commented Mar 13, 2024

@thomasfrederikhoeck If you can do that, that would be nice :) Thanks!

I have a PR open to set table properties afterwards as well:

#2264

@thomasfrederikhoeck
Copy link
Contributor Author

@ion-elgreco ah nice! I will do the docs-PR when that is merged then.

@ion-elgreco
Copy link
Collaborator

@thomasfrederikhoeck did we already document this?

@thomasfrederikhoeck
Copy link
Contributor Author

@ion-elgreco nope. I totally forgot it while waiting for the #2264 - sry :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants