Azure Data Factory - Change .zip to .gz on the fly using ADF pipeline

Lokesh 211 Reputation points

Hi Guys,

We have a requirement to load .zip files from amazon s3 to DWH. As a first step we want to convert these into .gz files so that it could be picked by polybase to be loaded in DWH.

Source dataset is set to compression type = ZipDeflate
Sink dataset is set to compression type = gzip

On debugging the pipeline, we are getting the following error.

{ "errorCode": "2200", "message": "Failure happened on 'Sink' side. ErrorCode=UserErrorUnzipInvalidFile,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The
file '' is not a valid Zip file with Deflate compression method.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.IO.InvalidDataException,Message=End of Central Directory record could not be found.,Source=Microsoft.DataTransfer.ClientLibrary,'",
"failureType": "UserError", "target": "S3toBlob", "details": [] }

We have tried some other compression types as well, for no luck.

Anyone tried this before ?



Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,737 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,681 Reputation points