Compression Export to volume is not working as expected
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2025 09:06 AM
I am trying to write data into a volume using below
table.coalesce(1)
.write
.mode("overwrite")
.format(file_format)
.option("header", "true")
.option("delimiter", field_delimiter)
.option("compression", "gzip")
.save(temp_path)
Command is running successfully but when I download the file I see for 1 file for each record of the table inside the zipped folder.
Command is running successfully but when I download the file I see for 1 file for each record of the table inside the zipped folder.
Note: Without compression, file is exported as expected.
Rakshak P R