#parquet #reader-writer #thrift #async-read #async-write #read-write #byte

parquet-format-safe

Safe Parquet and Thrift reader and writer (sync and async)

6 releases

0.2.4 Aug 17, 2022
0.2.3 Aug 13, 2022
0.1.0 Aug 10, 2022

#304 in Encoding

Download history 19959/week @ 2024-08-21 20720/week @ 2024-08-28 22794/week @ 2024-09-04 20315/week @ 2024-09-11 23518/week @ 2024-09-18 22832/week @ 2024-09-25 20891/week @ 2024-10-02 22713/week @ 2024-10-09 22415/week @ 2024-10-16 19275/week @ 2024-10-23 18003/week @ 2024-10-30 18973/week @ 2024-11-06 18108/week @ 2024-11-13 16848/week @ 2024-11-20 14508/week @ 2024-11-27 11975/week @ 2024-12-04

64,965 downloads per month
Used in 166 crates (via parquet2)

MIT/Apache

495KB
11K SLoC

parquet-format-safe

This crate contains an implementation of Thirft and generated Rust code associated to Parquet's thrift definition.

Note that this crate does not contain functionality to read the parquet format. See parquet2 for such functionality.

  • supports sync and async read API
  • supports sync and async write API
  • the write API returns the number of written bytes
  • the read API is panic free
  • the read API has a bound on the maximum number of possible bytes read, to avoid OOM.

It must be used with the fork of thrift's compiler available at https://github.com/jorgecarleitao/thrift/tree/safe .

Dependencies

~235KB