@Mahesh Chahareโ :
The spark.databricks.delta.retentionDurationCheck.enabled configuration property is used to enable or disable retention duration checks for Delta tables created in a Databricks workspace. When this property is set to true (which is the default), Delta will periodically check and delete any files that exceed the retention period set on the table. If it's set to false, then the retention duration check is disabled.
However, setting this property at the cluster level only affects new Delta tables that are created after the property is set. For existing Delta tables, you will need to set this property on each table using the
ALTER TABLE command.
To set the property on a Delta table, you can use the following command:
ALTER TABLE <table-name> SET TBLPROPERTIES ('delta.retentionDurationCheck.enabled'='false');
This will set the delta.retentionDurationCheck.enabled property to false for the specified Delta table. Once this property is set on the table, you should be able to see it in the table details.
Note that the SET TBLPROPERTIES command can also be used to set other table-level properties for Delta tables, such as retention period and vacuum options.