โ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
โ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
View solution in original post
โ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;
never-displayed