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=cliAfter this parquet-layout should be available:
parquet-layout XYZ.parquetThe binary can also be built from the source code and run as follows:
cargo run --features=cli --bin parquet-layout XYZ.parquetStructsΒ§
- Args π
- Column
Chunk π - Footer π
- Index π
- Page π
- Parquet
File π - 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
offsetfromreader, returning both thePageHeaderand its length in bytes