[−][src]Crate parquet_read
Binary file to read data from a Parquet file.
Install
parquet-read
can be installed using cargo
:
cargo install parquet
After this parquet-read
should be globally available:
parquet-read XYZ.parquet
The binary can also be built from the source code and run as follows:
cargo run --bin parquet-read XYZ.parquet
Usage
parquet-read <file-path> [num-records]
where file-path
is the path to a Parquet file and num-records
is the optional
numeric option that allows to specify number of records to read from a file.
When not provided, all records are read.
Note that parquet-read
reads full file schema, no projection or filtering is
applied.
For example,
parquet-read data/alltypes_plain.snappy.parquet parquet-read data/alltypes_plain.snappy.parquet 4