2 unstable releases

Uses new Rust 2024

0.2.0 Oct 23, 2025
0.1.0 Sep 23, 2025

#738 in Algorithms

Download history 52/week @ 2025-09-18 16/week @ 2025-09-25 3255/week @ 2025-10-02 73/week @ 2025-10-09 8196/week @ 2025-10-16 25492/week @ 2025-10-23

37,032 downloads per month
Used in parquet

Apache-2.0

1.5MB
26K SLoC

VariantArray and compute kernels for the Variant Binary Encoding from Apache Parquet.

Main APIs

Compute Kernels

  • [json_to_variant()]: Function to convert Arrays of JSON strings to a VariantArray.
  • [variant_to_json()]: Function to convert a VariantArray to arrays of JSON strings.
  • [cast_to_variant()]: Cast Arrow arrays to VariantArray.
  • [variant_get()]: Convert VariantArray (or an inner path) to a strongly-typed Arrow array.
  • [shred_variant()]: Shred a VariantArray according to the provided shredding schema
  • [unshred_variant()]: Unshred a VariantArray to pure binary variant.

🚧 Work In Progress

This crate is under active development and is not yet ready for production use. If you are interested in helping, you can find more information on the GitHub Variant issue

Dependencies

~17MB
~303K SLoC