lakehouse.databricks.common.delete_files_in_folder

lakehouse.databricks.common.delete_files_in_folder(spark, mount_point, folder_path)

A function to recursively delete all files in a folder within a mount point

Parameters

sparkspark context

spark context passed from the calling spark instance

mount_point: string

mounting point where folder exists

folder_path: string

folder path to delete all child files from