cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Does Spark Structured Streaming supports `OutputMode.Update` for Delta tables?

ruslan
New Contributor II
New Contributor II

Does Spark Structured Streaming supports `OutputMode.Update` for Delta tables?

1 REPLY 1

ruslan
New Contributor II
New Contributor II

Nope, it's not supported, but you could use a MERGE statement inside of a forEachBatch streaming sync

Documentation on MERGE

https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-merge-into.html

Documentation for arbitrary streaming sinks

https://docs.databricks.com/spark/latest/structured-streaming/foreach.html

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.