ENABLE CHANGE DATA FEED FOR EXISTING DELTA-TABLE
I have a delta table already created, now I want to enable the change data feed. I read that I have to set delta.enableChangeDataFeed property to true. But however, this cannot be done using the Scala API. I tried using this but it didn't work. I am ...
- 3151 Views
- 3 replies
- 6 kudos
Latest Reply
'delta.enableChangeDataFeed' have to be without quotes. spark.sql("ALTER TABLE delta_training.onaudience_dpm SET TBLPROPERTIES (delta.enableChangeDataFeed = true)").show()
- 6 kudos