cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read/decompress .dat gz file

Surendar
Contributor

I am trying to read data from gzip dat file using file reader with decompress. But unable to read the .dat file and sometimes unable to decompress in SnapLogic.

Kindly let me know what are the files format SnapLogic can support? Kindly advice me on the same.

image

7 REPLIES 7

dmiller
Former Employee

While I check with the team, have you tried using a ZipFile Read Snap?


Diane Miller

Yes I have tried with Zipfile Read snap but its not working. Getting below error
image

stephenknilans
Contributor

It is CALLED gzip, but really isn’t a zip file at all. For example, you can’t have a gzip ARCHIVE. If someone wants an archive on gnu, they usually gzip a TAR archive. That becomes .tar.gz or .tgz gzip is more like compress, and the decompress snap apparently supports it. Set the scheme on the decompress to gzip. Auto, the default, MIGHT work, but try gzip.

Steve

I have tried with the same which you mentioned gzip but won’t works.
image

But I have used the first approach which I mentioned, i.e. File Reader > Decompress is working fine. I am not sure how it will work for huge size files. will check it and update here.

Anyhow thanks for your suggestions.