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
Databricks Employee
Databricks Employee

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!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now