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: 

Loading multiple gz files from ADLS to Delta Lake/Delta table in ADB

Krish1
New Contributor II

I have several gz files (file.csv.gz) in a ADLS folder which are of pretty big size. All of these files are extractd from the same base table so it has the similar data but of different dates. How can I transfer them in delta lake/delta table. We would like to do quick POC on how faster Databricks is in reading the data from these files in delta as other platform(s) couldn't scale it well.

Any help would be much appreciated.

Krish.

1 REPLY 1

Debayan
Esteemed Contributor III

Hi, You can read GZ files through spark.

https://stackoverflow.com/questions/42761912/how-to-read-gz-compressed-file-by-pyspark

Please let us know if this helps. Also, please tag @Debayan​ with your next comment so that I will get notified. Thank you!

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