Expand description
Binary that prints the page index of a parquet file
ยงInstall
parquet-layout can be installed using cargo:
cargo install parquet --features=cliAfter this parquet-index should be available:
parquet-index XYZ.parquet COLUMN_PATHThe binary can also be built from the source code and run as follows:
cargo run --features=cli --bin parquet-index XYZ.parquet COLUMN_PATHRe-exportsยง
pub(crate) use clap::Parser;๐pub(crate) use parquet::data_type::ByteArray;๐pub(crate) use ParquetError;๐pub(crate) use Result;๐pub(crate) use ByteArrayColumnIndex;๐pub(crate) use ColumnIndexMetaData;๐pub(crate) use PrimitiveColumnIndex;๐pub(crate) use OffsetIndexMetaData;๐pub(crate) use PageLocation;๐pub(crate) use FileReader;๐pub(crate) use SerializedFileReader;๐pub(crate) use parquet::file::serialized_reader::ReadOptionsBuilder;๐pub(crate) use std::fs::File;๐
Modulesยง
- cli ๐
Structsยง
- Args ๐
Functionsยง
- compute_
row_ ๐counts - Computes the number of rows in each page within a column chunk
- main ๐
- print_
bytes_ ๐index - print_
index ๐ - Prints index information for a single column chunk