Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: document orcfiledump

ORC Files

Table of Contents

ORC File Format

Info
titleVersion

Introduced in Hive version 0.11.

...

For example, creating an ORC stored table without compression:

No Format

create table Addresses (
  name string,
  street string,
  city string,
  state string,
  zip int
) stored as orc tblproperties ("orc.compress"="NONE");

...

The codec can be Snappy, Zlib, or none.

ORC File Dump Utility

The ORC file dump utility analyzes ORC files.  To invoke it, use this command:

Code Block
hive --orcfiledump <hdfs-location-of-orc-file>