Crate parquet_layout

Crate parquet_layout 

Source
Expand description

Binary that prints the physical layout of a parquet file

NOTE: due to this binary’s use of the deprecated parquet::format module, it will no longer be maintained, and will likely be removed in the future. Alternatives to this include parquet-cli and parquet-viewer.

Β§Install

parquet-layout can be installed using cargo:

cargo install parquet --features=cli

After this parquet-layout should be available:

parquet-layout XYZ.parquet

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

cargo run --features=cli --bin parquet-layout XYZ.parquet

StructsΒ§

Args πŸ”’
ColumnChunk πŸ”’
Footer πŸ”’
Index πŸ”’
Page πŸ”’
ParquetFile πŸ”’
RowGroup πŸ”’

FunctionsΒ§

compression πŸ”’
Returns a string representation for a given compression
do_layout πŸ”’
encoding πŸ”’
Returns a string representation for a given encoding
main πŸ”’
read_page_header πŸ”’
Reads the page header at offset from reader, returning both the PageHeader and its length in bytes