
Databricks Certified Data Engineer - Associate
Get started today
Ultimate access to all questions.
What configuration property must you set in Databricks to allow the deletion of files for a Delta table that are less than 7 days old?
What configuration property must you set in Databricks to allow the deletion of files for a Delta table that are less than 7 days old?
Real Exam
Explanation:
By default, the VACUUM
command in Databricks prevents the deletion of files less than 7 days old to ensure no long-running operations are referencing them. If you're certain no operations (like insert, upsert, delete, or optimize) are being performed on the table, you can disable this safety check by setting spark.databricks.delta.retentionDurationCheck.enabled
to false. Learn More: Safety check for VACUUM command in Databricks