84 releases (51 major breaking)

51.0.0 Mar 18, 2024
50.0.0 Jan 12, 2024
49.0.0 Nov 13, 2023
48.0.1 Nov 13, 2023
0.3.0 May 5, 2018

#8 in Compression

Download history 36465/week @ 2023-12-23 48407/week @ 2023-12-30 69526/week @ 2024-01-06 68058/week @ 2024-01-13 78612/week @ 2024-01-20 88498/week @ 2024-01-27 98082/week @ 2024-02-03 106078/week @ 2024-02-10 86857/week @ 2024-02-17 122822/week @ 2024-02-24 124739/week @ 2024-03-02 128700/week @ 2024-03-09 130471/week @ 2024-03-16 114945/week @ 2024-03-23 110885/week @ 2024-03-30 92663/week @ 2024-04-06

470,514 downloads per month
Used in 209 crates (76 directly)

Apache-2.0

3.5MB
70K 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 arrow crate follows the SemVer standard defined by Cargo and works well within the Rust crate ecosystem.

However, 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
  • 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

~14–25MB
~478K SLoC