I can see an example on how to call the vacuum function for a Delta lake in python here. But how do I call it for only a dry run? In other words, what is the equivalent Python code for the following?
%sql
VACUUM delta.`dbfs:/mnt/<myfolder>` DRY RUN
I can see an example on how to call the vacuum function for a Delta lake in python here. But how do I call it for only a dry run? In other words, what is the equivalent Python code for the following?
%sql
VACUUM delta.`dbfs:/mnt/<myfolder>` DRY RUN
The dry run for non-SQL code is not yet available in Delta version 0.8.
There is an issue Vacuum dry run unavailable - deleted file information unexposed #454 open on GitHub.