2 unstable releases
Uses new Rust 2024
| 0.2.0 | Oct 23, 2025 |
|---|---|
| 0.1.0 | Sep 23, 2025 |
#738 in Algorithms
37,032 downloads per month
Used in parquet
1.5MB
26K
SLoC
VariantArray and compute kernels for the Variant Binary Encoding from Apache Parquet.
Main APIs
VariantArray: Represents an array ofVariantvalues.VariantArrayBuilder: For buildingVariantArray
Compute Kernels
- [
json_to_variant()]: Function to convert Arrays of JSON strings to aVariantArray. - [
variant_to_json()]: Function to convert aVariantArrayto arrays of JSON strings. - [
cast_to_variant()]: Cast Arrow arrays toVariantArray. - [
variant_get()]: ConvertVariantArray(or an inner path) to a strongly-typed Arrow array. - [
shred_variant()]: Shred aVariantArrayaccording to the provided shredding schema - [
unshred_variant()]: Unshred aVariantArrayto 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