Expand description
Module for transforming a typed arrow Array to VariantArray.
MacrosΒ§
- generic_
conversion_ πsingle_ value - Convert the value at a specific index in the given array into a
Variant, usingmethodrequiring a generic type to downcast the generic array to a specific array type andcast_fnto transform the element. - generic_
conversion_ πsingle_ value_ with_ result - impl_
primitive_ πfrom_ variant - Macro to generate PrimitiveFromVariant implementations for Arrow primitive types
- impl_
timestamp_ πfrom_ variant - non_
generic_ πconversion_ single_ value - Convert the value at a specific index in the given array into a
Variant. - primitive_
conversion_ πsingle_ value - Convert the value at a specific index in the given array into a
Variant.
StructsΒ§
- Cast
Options - Options for controlling the behavior of
cast_to_variant_with_options.
TraitsΒ§
- Primitive
From πVariant - Extension trait for Arrow primitive types that can extract their native value from a Variant
- Timestamp
From πVariant - Extension trait for Arrow timestamp types that can extract their native value from a Variant
We canβt use
PrimitiveFromVariantdirectly because we need two implementations for each timestamp type β theNTZparam here.
FunctionsΒ§
- variant_
to_ πunscaled_ decimal - Returns the unscaled integer representation for Arrow decimal type
Ofrom aVariant.