Table of Contents

Search

  1. Preface
  2. Introduction to Amazon S3 V2 Connector
  3. Connections for Amazon S3 V2
  4. Amazon S3 V2 sources and targets
  5. Mappings and mapping tasks with Amazon S3 V2
  6. Migrating a mapping
  7. Upgrading to Amazon S3 V2 Connector
  8. Data type reference
  9. Troubleshooting

Amazon S3 V2 Connector

Amazon S3 V2 Connector

Data compression in Amazon S3 V2 sources and targets

Data compression in Amazon S3 V2 sources and targets

You can decompress data when you read data from Amazon S3
and compress the data when you write data to Amazon S3
.
Configure the compression format in the
Compression Format
option under the advanced source
and target
properties.
Compression format doesn't apply to binary files.
The following table lists the compression formats that you can use for various file types when you read data from Amazon S3:
Compression format
File type
None
Avro, Delta
1
, Flat, JSON
2
, ORC, Parquet
Bzip2
JSON
2
Deflate
Avro
Gzip
Delta
1
, Flat, Parquet
Lzo
Doesn't apply to any file type.
Snappy
Avro, Delta
1
, ORC, Parquet
Zlib
ORC
1
Doesn't apply to mappings in advanced mode.
2
Applies only to mappings in advanced mode.
The following table lists the compression formats that you can use for various file types when you write data to Amazon S3:
Compression format
File type
None
Avro, Delta
1
, Flat, JSON
2
, ORC, Parquet
Bzip2
JSON
2
Deflate
Avro, JSON
2
Gzip
Delta
1
, Flat, JSON
2
, Parquet
Lzo
Doesn't apply to any file type.
Snappy
Avro, Delta
1
, JSON
2
, ORC, Parquet
Zlib
ORC
1
Doesn't apply to mappings in advanced mode.
2
Applies only to mappings in advanced mode.
For the Avro, ORC and Parquet file formats, the support for the following compression formats are implicit even though these compression formats do not appear in the
Compression Format
option under the advanced source property:
Compression format
File type
Deflate
Avro
Snappy
Avro, ORC, Parquet
Zlib
ORC

0 COMMENTS

We’d like to hear from you!