Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Describe how the VACUUM command works in Delta Lake and what kind of files it deletes. Explain the implications of using VACUUM with a retention period.
A
VACUUM deletes all files in the table directory, including active and deleted files, and has no retention period.
B
VACUUM compacts small files into larger ones to improve query performance and has a default retention period of 7 days.
C
VACUUM deletes files that are no longer referenced by the Delta Lake table and are older than the specified retention period, helping to free up storage space.
D
VACUUM reorders the data files to optimize storage and has a retention period that can be set to any value.