1

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
MetallicPriest
  • 29,191
  • 52
  • 200
  • 356

1 Answers1

2

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.

Michael Heil
  • 16,250
  • 3
  • 42
  • 77