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: 

Migrating old solution to new optimal delta lake setup

JohanBringsdal
New Contributor

Hi Databricks community!

I have previsouly worked on a project that easily could be optimized with Databricks. It is currently running on Azure Synapse, but the premise is the same.

Ill describe the scenario here:

1. Data owners send a constant flow of JSON files into a datalake location (Gen 2 Blob Container). The files that are being sent consist individually of one business-record which is between 50 to 500 kbs per file (Very small).

2. As these files are populated on the datalake, they are in the same process partitioned down to the minute level (so, year, month, day, hour, minute), which is heavily over-partitioned. 

3. The incremental loading of the incomining files work completely fine, as they are written down in parquet files (not delta) on the lake, and then processed into an SQL Table.

4. This means that a full load is currently impossible because there are millions of files, and thousands of directories to traverse.

 

So essentially my question is, what would be the best way to move away from this old solution, and move into a full lakehouse setup? Is there an optimal way to pre-process millions of small JSON files in a once off load to keep them in Delta in a sort of landing layer? 

Ill take any suggestions with open hands!

Thanks

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