lakehouse.databricks.common.truncate_all_tables

lakehouse.databricks.common.truncate_all_tables(spark, schema)

A function to truncate all of the Hive tables within a hive database/schema

Parameters

sparkspark context

spark context passed from the calling spark instance

schemastring

The name of the database/schema where the table belongs