sabari dass
01/10/2023, 9:31 PMNick Karpov
01/11/2023, 2:57 AMspark.sql("""
ALTER TABLE tbl ADD COLUMNS (col1 DataType)
""")
Gerhard Brueckl
01/11/2023, 7:56 AM.option("mergeSchema", "true")
here are the official docs:
https://docs.databricks.com/delta/update-schema.html
(most if not all should also apply to Delta OSS)