Impact of VACUUM and retention settings on Delta Lake

mjedy78
New Contributor II

I have a table that needs to support time travel for up to 6 months. To preserve the necessary metadata and data files, I’ve already configured the table with the following properties:

ALTER TABLE table_x SET TBLPROPERTIES ( 'delta.logRetentionDuration' = 'interval 180 days', 'delta.deletedFileRetentionDuration' = 'interval 180 days' );

However, there are delta lake maintanance job which runs

VACUUM table_x RETAIN 720 HOURS; -- 30 days

Will running VACUUM table_x RETAIN 720 HOURS ignore the 180-day table properties and potentially delete files needed for time travel?

Thanks