Hi Tathagata,
I tried following steps but the older logs (along with older checkpoint files) are still not getting removed from _delta_logs folder even after 12 hours, where the retention interval was 2 hours.
1. Existing ingestion job which data and saves to HDFS
2. Created a Hive table against an existing Delta table using following command:
CREATE TABLE <TABLE_NAME>
USING DELTA
LOCATION '<HDFS_LOCATION>'
TBLPROPERTIES('delta.logRetentionDuration'='interval 2 hours');
3. Restarted job
4. Compacted and Vacuumed data
5. Job has been running for more than 12 hours, but it didn't clean older logs
Please let me know if I am doing any step incorrectly.
Thanks,
Amar