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

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

#204 in Encoding

Download history 14355/week @ 2023-12-13 9388/week @ 2023-12-20 9703/week @ 2023-12-27 12702/week @ 2024-01-03 14658/week @ 2024-01-10 14636/week @ 2024-01-17 13992/week @ 2024-01-24 14238/week @ 2024-01-31 13753/week @ 2024-02-07 15029/week @ 2024-02-14 14673/week @ 2024-02-21 17011/week @ 2024-02-28 16972/week @ 2024-03-06 16512/week @ 2024-03-13 18615/week @ 2024-03-20 13287/week @ 2024-03-27

68,767 downloads per month
Used in 91 crates (2 directly)

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

~245KB