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: 

What is the best practice while loading delta table , do I infer the schema or provide the schema?

palzor
New Contributor III

I am loading avro files into the detla tables. I am doing this for multiple tables and some files are big like (2-3GB) and most of them are small like in few MBs.

I am using autoloader to load the data into the delta tables.

My question is:

What is the best practice , do I infer the schema or provide the schema while using autoloader.

I understand that if I provide the schema , the processing would be faster however it would be time consuming to provide the schema for tables that has many columns.

Any suggestions?

0 REPLIES 0

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