#parquet #hadoop


Temporary crate containing thrift library + parquet definitions compiled to support read+write async

3 unstable releases

0.2.0 Aug 28, 2021
0.1.1 Aug 10, 2021
0.1.0 Aug 8, 2021

#338 in Database interfaces

Download history 1731/week @ 2021-08-08 1281/week @ 2021-08-15 3323/week @ 2021-08-22 3473/week @ 2021-08-29 1969/week @ 2021-09-05 2914/week @ 2021-09-12 4080/week @ 2021-09-19 3068/week @ 2021-09-26 2927/week @ 2021-10-03 2729/week @ 2021-10-10

2,036 downloads per month
Used in 2 crates (via parquet2)


10K SLoC


This is a temporary crate containing a subset of rust's thirft library and parquet to support native async parquet read and write.

Specifically, it:

  • supports async read API (via futures)
  • supports async write API (via futures)
  • the write API returns the number of written bytes

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


To read and write files with thrift (e.g. parquet) without commiting to a particular runtime (e.g. tokio, hyper, etc.), the protocol needs to support AsyncRead + AsyncSeek and AsyncWrite respectively.

To not require Seek and AsyncSeek on write, the protocol must return the number of written bytes on its write_* API.

This crate addresses these two concerns for parquet. It is essentially:


~45K SLoC