Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshparangi committed Dec 7, 2024
1 parent da162a0 commit ff7a01e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/source/delta-utility.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ 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 <Delta> 3.3 and above.

VACUUM '/data/events' -- vacuum files in path-based table

Expand Down Expand Up @@ -719,4 +722,4 @@ CREATE OR REPLACE TABLE <target_table_name> SHALLOW CLONE iceberg.`/path/to/data
.. <PrestoAnd> replace:: Presto and Athena

.. <Delta> replace:: Delta Lake
.. <AS> replace:: Apache Spark
.. <AS> replace:: Apache Spark

0 comments on commit ff7a01e

Please sign in to comment.