
Answer-first summary for fast verification
Answer: Executing the VACUUM command on the table removes CDF data as well
Databricks tracks changes for UPDATE, DELETE, and MERGE operations in the _change_data folder within the table directory. These files adhere to the table's retention policy. Consequently, executing the VACUUM command will also remove change data feed data. For more details, refer to the documentation: [Delta Change Data Feed](https://docs.databricks.com/delta/delta-change-data-feed.html#change-data-storage).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What is the correct statement about the retention policy of Delta Lake's Change Data Feed (CDF)?
A
Executing the VACUUM command on the table removes CDF data as well
B
CDF data files can be permanently deleted by executing the VACUUM CHANGES command
C
CDF data files cannot be permanently removed from Delta Lake
D
The VACUUM command does not delete CDF data unless the CASCADE clause is enabled
E
The VACUUM command does not delete CDF data
No comments yet.