Crate parquet_layout

Source
Expand description

Binary that prints the physical layout of a parquet file

ยง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ยง

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