Expand description
VariantArray
and compute kernels for the Variant Binary Encoding from Apache Parquet.
ยงMain APIs
VariantArray
: Represents an array ofVariant
values.VariantArrayBuilder
: For buildingVariantArray
batch_json_string_to_variant
: Function to convert a batch of JSON strings to aVariantArray
.batch_variant_to_json_string
: Function to convert aVariantArray
to a batch of JSON strings.cast_to_variant
: Module to cast other Arrow arrays toVariantArray
.variant_get
: Module to get values from aVariantArray
using a specifiedVariantPath
ยง๐ง 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
Modulesยง
- cast_
to_ variant - from_
json ๐ - Module for transforming a batch of JSON strings into a batch of Variants represented as STRUCT<metadata: BINARY, value: BINARY>
- to_json ๐
- Module for transforming a batch of Variants represented as STRUCT<metadata: BINARY, value: BINARY> into a batch of JSON strings.
- variant_
array ๐ VariantArray
implementation- variant_
array_ ๐builder VariantArrayBuilder
implementation- variant_
get
Structsยง
- Variant
Array - An array of Parquet [
Variant
] values - Variant
Array Builder - A builder for
VariantArray
- Variant
Array Variant Builder - A
VariantBuilderExt
that writes directly to the buffers of aVariantArrayBuilder
.
Enumsยง
- Shredding
State - Represents the shredding state of a
VariantArray
Functionsยง
- batch_
json_ string_ to_ variant - Parse a batch of JSON strings into a batch of Variants represented as STRUCT<metadata: BINARY, value: BINARY> where nulls are preserved. The JSON strings in the input must be valid.
- batch_
variant_ to_ json_ string - Transform a batch of Variant represented as STRUCT<metadata: BINARY, value: BINARY> to a batch of JSON strings where nulls are preserved. The JSON strings in the input must be valid.