Forum Discussion

Bhavin's avatar
Bhavin
Former Employee
9 years ago

Decompressing and reading WINDOWS zip files

Here is a pipeline that reads a .zip file, decompresses (unzips) it and parses it contents.
Please note that our current “Decompress” Snap only supports BZIP2, GZIP and DEFLATE.

Binary to Document Snap Encode or Decode property is set to NONE

Mapper configuration

Zip file read Snap configuration

This will return a binary stream and based on content-type, in this case we have an Excel xls file so we snap-in Excel Parser.

Pipeline is attached, you need to pass zip file to read

BK new pipeline 0_2017_02_21.slp (6.3 KB)