Module shred_variant

Module shred_variant 

Source
Expand description

Module for shredding VariantArray with a given schema.

Structsยง

ShreddedSchemaBuilder
Builder for constructing a variant shredding schema.
ShreddingField
Field configuration captured by the builder (data type + nullability).
VariantToShreddedObjectVariantRowBuilder ๐Ÿ”’
VariantToShreddedPrimitiveVariantRowBuilder ๐Ÿ”’
A top-level variant shredder โ€“ appending NULL produces typed_value=NULL and value=Variant::Null

Enumsยง

VariantSchemaNode ๐Ÿ”’
Internal tree node structure for building variant schemas.
VariantToShreddedVariantRowBuilder ๐Ÿ”’

Traitsยง

IntoShreddingField
Convenience conversion to allow passing either FieldRef, DataType, or (DataType, bool).

Functionsยง

make_variant_to_shredded_variant_arrow_row_builder ๐Ÿ”’
shred_variant
Shreds the input binary variant using a target shredding schema derived from the requested data type.