Using l vacuum with a dry run in Python for a Delta Lake

User16826994223
Databricks Employee
Databricks Employee

I can see an example on how to call the vacuum function for a Delta lake in python here. how to use the same in python

%sql
VACUUM delta.`dbfs:/mnt/<myfolder>` DRY RUN

User16826994223
Databricks Employee
Databricks Employee

The dry run for non-SQL code is not yet available in Delta version 0.8.

I see there is a bug that is opened with delta opensource in git . hope it get resolved soon