I am trying to set up a retention policy on the Databricks tables that I create, but I do not know how to do it. I am using these two configurations based on Databricks documentation:
delta.logRetentionDuration = "interval ": Configure how long you can go back in time. Default is interval 30 days.
delta.deletedFileRetentionDuration = "interval ": Configure how long stale data files are kept around before being deleted with
VACUUM. Default is interval 1 week.
My table is at least 2 days old, and using an interval of 1 day is not effective, because I query the table and every row is still there, nothing is deleted. I also used the VACUUM command as follows:
VACUUM test_table RETAIN 10 HOURS
But, still, nothing is deleted.