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: 

How do I choose which column to partition by?

User16826992666
Valued Contributor

I am in the process of building my data pipeline, but I am unsure of how to choose which fields in my data I should use for partitioning. What should I be considering when choosing a partitioning strategy?

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

The important factors deciding partition columns are:

  • Even distribution of data.
  • Choose the column that is commonly or widely accessed or queried.
  • Do not create multiple levels of partition, as you can end up with a large number of small files.

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