cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Honored Contributor III

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

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.