From ea257aaffc83ec96d9b5a796f75e307081a43c64 Mon Sep 17 00:00:00 2001 From: Rajesh Parangi Sharabhalingappa Date: Thu, 5 Dec 2024 22:11:23 -0800 Subject: [PATCH] first --- docs/source/delta-utility.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/source/delta-utility.md b/docs/source/delta-utility.md index 8ce3b1f0cd7..b4e50224f8b 100644 --- a/docs/source/delta-utility.md +++ b/docs/source/delta-utility.md @@ -31,7 +31,13 @@ default retention threshold for the files is 7 days. To change this behavior, se .. lang:: sql ```sql - VACUUM eventsTable -- vacuum files not required by versions older than the default retention period + + VACUUM eventsTable -- This runs VACUUM in ‘FULL’ mode and deletes data files outside of the retention duration and all files in the table directory not referenced by the table. + + VACUUM eventsTable LITE -- This VACUUM in ‘LITE’ mode runs faster. + -- Instead of finding all files in the table directory, `VACUUM LITE` uses the Delta transaction log to identify and remove files no longer referenced by any table versions within the retention duration. + -- If `VACUUM LITE` cannot be completed because the Delta log has been pruned a `DELTA_CANNOT_VACUUM_LITE` exception is raised. + -- This mode is available only in 3.3 and above. VACUUM '/data/events' -- vacuum files in path-based table @@ -719,4 +725,4 @@ CREATE OR REPLACE TABLE SHALLOW CLONE iceberg.`/path/to/data .. replace:: Presto and Athena .. replace:: Delta Lake -.. replace:: Apache Spark \ No newline at end of file +.. replace:: Apache Spark