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 file format for a temporary table?

brickster_2018
Databricks Employee
Databricks Employee

As part of my ETL process, I create intermediate/staging temporary tables. These tables created are read at a later point in the ETL and finally cleaned up. Should I use Delta? Using Delta creates the overhead of running optimize jobs, which would delay my ETL. Enabling optimize writes also will add delay to my ETL

What is the best practice/recommendation here.

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee
  • The temporary table can be created using Delta, although enabling optimize writes on the temporary table can increase the read performance in the subsequent stage. Overall it's a good practice to use Delta.
  • Eventual consistency-related issues are common when dealing with temporary tables. Using Delta can help to address those issues.

View solution in original post

2 REPLIES 2

brickster_2018
Databricks Employee
Databricks Employee
  • The temporary table can be created using Delta, although enabling optimize writes on the temporary table can increase the read performance in the subsequent stage. Overall it's a good practice to use Delta.
  • Eventual consistency-related issues are common when dealing with temporary tables. Using Delta can help to address those issues.

Sebastian
Contributor

Agree.. the intermediate delta tables helps since it brings reliability to the pipeline.

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