91 releases (53 major breaking)

new 53.3.0 Nov 20, 2024
53.0.0 Sep 3, 2024
52.2.0 Jul 28, 2024
51.0.0 Mar 18, 2024
0.3.0 May 5, 2018

#8 in Compression

Download history 194939/week @ 2024-08-01 176200/week @ 2024-08-08 184311/week @ 2024-08-15 185758/week @ 2024-08-22 168024/week @ 2024-08-29 175410/week @ 2024-09-05 171856/week @ 2024-09-12 163012/week @ 2024-09-19 174112/week @ 2024-09-26 175489/week @ 2024-10-03 174943/week @ 2024-10-10 156583/week @ 2024-10-17 152989/week @ 2024-10-24 136287/week @ 2024-10-31 144436/week @ 2024-11-07 121199/week @ 2024-11-14

581,586 downloads per month
Used in 295 crates (112 directly)

Apache-2.0

4MB
80K SLoC

Apache Parquet Official Native Rust Implementation

crates.io docs.rs

This crate contains the official Native Rust implementation of Apache Parquet, which is part of the Apache Arrow project.

See the API documentation for examples and the full API.

The API documentation for most recent, unreleased code is available here.

Rust Version Compatibility

This crate is tested with the latest stable version of Rust. We do not currently test against other, older versions of the Rust compiler.

Versioning / Releases

The parquet crate follows the SemVer standard defined by Cargo and works well within the Rust crate ecosystem. See the repository README for more details on the release schedule and version.

Note that for historical reasons, this crate uses versions with major numbers greater than 0.x (e.g. 19.0.0), unlike many other crates in the Rust ecosystem which spend extended time releasing versions 0.x to signal planned ongoing API changes. Minor arrow releases contain only compatible changes, while major releases may contain breaking API changes.

Feature Flags

The parquet crate provides the following features which may be enabled in your Cargo.toml:

  • arrow (default) - support for reading / writing arrow arrays to / from parquet
  • async - support async APIs for reading parquet
  • json - support for reading / writing json data to / from parquet
  • brotli (default) - support for parquet using brotli compression
  • flate2 (default) - support for parquet using gzip compression
  • lz4 (default) - support for parquet using lz4 compression
  • zstd (default) - support for parquet using zstd compression
  • snap (default) - support for parquet using snappy compression
  • cli - parquet CLI tools
  • crc - enables functionality to automatically verify checksums of each page (if present) when decoding
  • experimental - Experimental APIs which may change, even between minor releases

Parquet Feature Status

  • All encodings supported
  • All compression codecs supported
  • Read support
    • Primitive column value readers
    • Row record reader
    • Arrow record reader
    • Async support (to Arrow)
  • Statistics support
  • Write support
    • Primitive column value writers
    • Row record writer
    • Arrow record writer
    • Async support
  • Predicate pushdown
  • Parquet format 4.0.0 support

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.

Dependencies

~13–44MB
~827K SLoC