cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to write streaming data to delta and create a table in spark catalog at the same time?

User16826987838
Contributor
 
1 REPLY 1

Ryan_Chynoweth
Esteemed Contributor

Yes, in your write stream you can save it as a table in the delta format without a problem. In DBR 8, the default table format is delta.

See this code, please note that the "..." is supplied to show that additional options may be required:

df.writeStream.format("delta")...saveAsTable("<tablename>")

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now