polars-parquet-format

Crates.iopolars-parquet-format
lib.rspolars-parquet-format
version0.1.0
sourcesrc
created_at2024-10-27 10:04:23.702888
updated_at2024-10-27 10:04:23.702888
descriptionSafe Parquet and Thrift reader and writer (sync and async)
homepagehttps://github.com/pola-rs/parquet-format
repositoryhttps://github.com/pola-rs/parquet-format
max_upload_size
id1424466
size548,902
Ritchie Vink (ritchie46)

documentation

README

parquet-format-safe

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

  • 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.

The Rust generated code is done by a fork of thrift's compiler, available at https://github.com/coastalwhite/thrift/tree/safe.

Usage

To regenerate the thrift format implementation in Rust.

nix-shell
generate_parquet_format
mv parquet.rs src/parquet_format.rs
Commit count: 4

cargo fmt