Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: link to new RCFile doc

RCFileCat

Table of Contents

$HIVE_HOME/bin/hive --rcfilecat is a shell utility which can be used to print data or metadata from RC files.

Data

Prints out the rows stored in an RCFile, columns are tab separated and rows are newline separated.

Usage:

Code Block

hive --rcfilecat [--start=start_offset] [--length=len] [--verbose] fileName

--start=start_offset           Start offset to begin reading in the file
--length=len                   Length of data to read from the file
--verbose                      Prints periodic stats about the data read,
                               how many records, how many bytes, scan rate

...

New in 0.11.0

Usage:

Code Block

hive --rcfilecat [--column-sizes | --column-sizes-pretty] fileName

...