Hubert-Dudek
Databricks MVP

If you have external delta files, you can use Python syntax to clean them using path

from delta.tables import *
 
deltaTable = DeltaTable.forPath(spark, pathToTable)
 
deltaTable.vacuum()


My blog: https://databrickster.medium.com/