Decompress
You can use this Snap to decompress the content of binary data. For example, if a File Reader Snap is configured to read a compressed file, you can use this Snap to decompress the content before passing the data to a Parser Snap. The decompression scheme can be explicitly chosen or automatically detected based on the content of the binary data. If the compression scheme is set to AUTO and the incoming data is not compressed, the raw input data is passed through without any changes.
- 7ZIP
- BZIP2 (or BZ2)
- DEFLATE
- GZIP
- TAR.GZ
- ZIP

- This is a Transform-type Snap.
Works in Ultra Tasks
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input (binary) | The input view accepts a document containing binary data that needs to be decompressed. This is typically compressed file content that you want to extract or decompress before further processing. | |
| Output (binary) | The output view provides the decompressed file content in the specified
decompression format. The Snap supports multiple decompression schemes. The decompressed file in the specified decompression format:
|
|
| Learn more about Error handling. | ||
Examples
Snap settings
| Field/Field set | Description |
|---|---|
Label
|
Required. Specify a unique name for the Snap. Modify this
to be more appropriate, especially if more than one of the same Snaps is in the
pipeline.
Default value: Decompress Example: Decompress |
| Scheme
|
Required. Specify the decompression scheme to
use. The available options include:
Note:
Supported schemes for AUTO Scheme AUTO scheme detection is supported for DEFLATE, GZIP, BZIP2, ZIP, 7z, and TAR.GZ compression schemes. Default value: AUTO Example: BZIP2 |
| Snap execution
|
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Execute only Example: Validate & Execute |