[][src]Crate parquet_schema

Binary file to print the schema and metadata of a Parquet file.

Install

parquet-schema can be installed using cargo:

cargo install parquet

After this parquet-schema should be globally available:

parquet-schema XYZ.parquet

The binary can also be built from the source code and run as follows:

cargo run --bin parquet-schema XYZ.parquet

Usage

parquet-schema <file-path> [verbose]

where file-path is the path to a Parquet file and verbose is the optional boolean flag that allows to print schema only, when set to false (default behaviour when not provided), or print full file metadata, when set to true. For example,

parquet-schema data/alltypes_plain.snappy.parquet

parquet-schema data/alltypes_plain.snappy.parquet false

parquet-schema data/alltypes_plain.snappy.parquet true