lakehouse.databricks.common.alter_delta_table_properties
- lakehouse.databricks.common.alter_delta_table_properties(spark, table_def, delta_db, dest_table)
This function alters the properties of a Delta table in a database.
Parameters
- sparkspark context
Spark context object passed from the calling Spark instance.
- table_defdict
A dictionary object that contains the definition of the table to be altered. The dictionary contains two keys: 'comment' and 'tbl-properties'.
- delta_dbstring
The name of the Delta database.
- dest_tablestring)
The name of the table to be altered.