Crate parquet_variant_compute

Source
Expand description

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

ยงMain APIs

ยง๐Ÿšง 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ยง

VariantArray
An array of Parquet [Variant] values
VariantArrayBuilder
A builder for VariantArray
VariantArrayVariantBuilder
A VariantBuilderExt that writes directly to the buffers of a VariantArrayBuilder.

Enumsยง

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