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​ !

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group