cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
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!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.