Skip to main content

Crate parquet_index

Crate parquet_index 

Source
Expand description

Binary that prints the page index of a parquet file

ยงInstall

parquet-layout can be installed using cargo:

cargo install parquet --features=cli

After this parquet-index should be available:

parquet-index XYZ.parquet COLUMN_PATH

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

cargo run --features=cli --bin parquet-index XYZ.parquet COLUMN_PATH

Re-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