layout: docs title: Hive Configuration permalink: /docs/hive-config.html

Table properties

Tables stored as ORC files use table properties to control their behavior. By using table properties, the table owner ensures that all clients store data with the same options.

KeyDefaultNotes
orc.compressZLIBhigh level compression = {NONE, ZLIB, SNAPPY}
orc.compress.size262,144compression chunk size
orc.stripe.size67,108,864memory buffer in bytes for writing
orc.row.index.stride10,000number of rows between index entries
orc.create.indextruecreate indexes?
orc.bloom.filter.columns""comma separated list of column names
orc.bloom.filter.fpp0.05bloom filter false positive rate

For example, to create an ORC table without high level compression:

CREATE TABLE istari (
  name STRING,
  color STRING
) STORED AS ORC TBLPROPERTIES ("orc.compress"="NONE");

Configuration properties

There are many Hive configuration properties related to ORC files: