Setting Compression Options for Hadoop Writable External Tables

Setting Compression Options for Hadoop Writable External Tables

Compression options for Hadoop Writable External Tables use the form of a URI query and begin with a question mark. Specify multiple compression options with an ampersand (&).

Table 1. Compression Options
Compression Option Values Default Value
compress true or false false
compression_type BLOCK or RECORD RECORD
codec Codec class name GzipCodec for text format and DefaultCodec for gphdfs_export format.

Place compression options in the query portion of the URI.