Expand description
Parquet with the PCODEC compression codec (spec/FORMAT.md).
Writerwrites Arrow data with PCODEC for the numeric columns itsPolicyselects:Autocompares PCODEC with the base codec (ZSTD level 3 by default) on the first batch.readreads any Parquet file, PCODEC or not, as Arrow.- [
transcode] converts standard Parquet to PCODEC and back. inspectandverifyreport on files; thetparquetCLI wraps all of them.
The Parquet implementation is the parquet crate fork in rust/parquet, re-exported as
parquet.
Re-exports§
pub use policy::Policy;pub use transcode::Target;pub use transcode::transcode;pub use writer::ColumnCodec;pub use writer::Writer;pub use writer::WriterOptions;pub use writer::parse_base;pub use parquet;
Modules§
- canonical
- Canonical JSON of Arrow data (
testdata/README.md): one object per row, compact, with floats as the hex of their IEEE bits so that comparisons are bit-exact. - inspect
- What a file holds per column: codecs, sizes, pages and PCODEC payload modes.
- policy
- Which codec a column gets.
- read
- Reading Parquet files (PCODEC or not) as Arrow record batches.
- transcode
- Rewriting a Parquet file with or without PCODEC, keeping everything else.
- verify
- Logical equality of two Parquet files, floats compared bit for bit.
- writer
Writer: anArrowWriterthat picks PCODEC or the base codec per column.
Enums§
- Error
- Everything that can go wrong in this crate.