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
Admin Admin
Admin

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


Diane Miller
Community Manager

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.