โ08-19-2024 03:32 PM - edited โ08-19-2024 03:51 PM
Hi Guys,
I tried to set the retention period in my Cluster, but it`s not work
Cluster:
Notebook:
Does not remove physical files
Do you have any ideas? thanks
โ12-09-2024 12:13 AM - edited โ12-09-2024 12:14 AM
Hi,
It seems you are setting the retention period to 0 hours.
You need to first use this config spark.databricks.delta.retentionDurationCheck.enabled to false.
spark.databricks.delta.retentionDurationCheck.enabled
false
and then set the retentention duration config as you used.
You can do a DRY RUN to check if there are any files which are ready to be vacummed.
Reference link: https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html
never-displayed
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!