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: 

Changing default Delta behavior in DBR 8.x for writes

Anonymous
Not applicable

Is there anyway to add a Spark Config that reverts the default behavior when doing tables writes from Delta to Parquet in DBR 8.0+? I know you can simply specify .format("parquet") but that could involve a decent amount of code change for some clients.

https://docs.databricks.com/release-notes/runtime/8.0-migration.html#{datasetdataframe}{writewriteto...

2 REPLIES 2

Ryan_Chynoweth
Esteemed Contributor

Please check out our migration guide on this topic.

Option one would be your best bet. You can set "spark.sql.sources.default" to parquet and "spark.sql.legacy.createHiveTableByDefault" to true on your cluster. 

Option two would be to change your code.

Anonymous
Not applicable

Thanks @Ryan Chynoweth​ !

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