Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 1.24 KB

File Compression Parameters

You can load from compressed data files by specifying the following parameters. File Compression Parameters

BZIP2 A value that specifies that the input file or files are in compressed bzip2 format (.bz2 files). The COPY operation reads each compressed file and uncompresses the data as it loads.

GZIP A value that specifies that the input file or files are in compressed gzip format (.gz files). The COPY operation reads each compressed file and uncompresses the data as it loads.

LZOP A value that specifies that the input file or files are in compressed lzop format (.lzo files). The COPY operation reads each compressed file and uncompresses the data as it loads.
COPY doesn't support files that are compressed using the lzop --filter option.

ZSTD A value that specifies that the input file or files are in compressed Zstandard format (.zst files). The COPY operation reads each compressed file and uncompresses the data as it loads. For more information, see Zstandard Encoding.
ZSTD is supported only with COPY from Amazon S3.

You can’t perform that action at this time.