Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edit new orcfiledump options, add version, link to HIVE-7896

...

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

Code Block
// Hive version 0.11 through 0.14:
hive --orcfiledump <hdfs-location-of-orc-file>
 
// Hive version 0.15 and later:
hive --orcfiledump [-d] [--rowindex <col_ids>] <hdfs-location-of-orc-file>

Adding -d to the command will cause it to dump the data in the orc ORC file rather than the metadata (Hive 0.15.0 and later).

Adding --rowindex with a column comma separated list of column ids for which the row index should be printedids will cause it to print row indexes for the specified columns, where 0 is the top level struct containing all of the columns and 1 is the first column id (Hive 0.15.0 and later).

ORC Configuration Parameters

...