
Explanation:
By default, running a VACUUM command with a retention period of less than 168 hours (7 days) will throw an error. This built-in safety check prevents the accidental deletion of historical files that might still be in use by concurrent read operations or streaming jobs. To bypass this, the configuration spark.databricks.delta.retentionDurationCheck.enabled must be explicitly set to false.
Ultimate access to all questions.
A
All files are immediately deleted.
B
The command fails due to a built-in safety check (unless explicitly disabled).
C
Only historical files older than 0 hours are deleted.
D
The command is ignored completely.
No comments yet.