Thursday, August 17, 2023

Databricks Rename Table Column Name

 ALTER TABLE enterprise_db.tblmf_sources SET TBLPROPERTIES (

  'delta.minReaderVersion' = '2',
  'delta.minWriterVersion' = '5',
  'delta.columnMapping.mode' = 'name'
)
Alter table RENAME enterprise_db.tblmf_sources COLUMN     sourceName TO SourceName