RCFileCat
Skip to end of metadata
Go to start of metadata

RCFileCat

$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:

Metadata

New in 0.11.0

Usage:

With the --column-sizes option set, instead of printing the data in the RC file, prints rows with 3 columns.
<column number> <uncompressed size> <compressed size>
The sizes of the columns are the aggregated sizes of the column in the entire file taken from the RC file headers.

With the --column-sizes-pretty option set prints the same data as is printed with the --column-sizes option but with a more human friendly format.

Labels
  • No labels