Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-02-2022 04:22 AM
I tried to VACUUM a delta table, but there is a Syntax error.
Here is the code:
%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False
VACUUM test_deltatable
Labels:
- Labels:
-
Syntax
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-02-2022 04:32 AM
@Cheuk Hin Christophe Poonโ Missing semi-colon at end of line 2?
%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False;
VACUUM test_deltatable
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-02-2022 04:32 AM
@Cheuk Hin Christophe Poonโ Missing semi-colon at end of line 2?
%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False;
VACUUM test_deltatable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-02-2022 10:21 PM
I asked a stupid question๐ I forgot to add ;
This one works
%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False;
VACUUM test_deltatable;

