Module cast_to_variant

Source

Macrosยง

cast_conversion ๐Ÿ”’
Convert the input array to a VariantArray row by row, using method to downcast the generic array to a specific array type and cast_fn to transform each element to a type compatible with Variant
cast_conversion_nongeneric ๐Ÿ”’
primitive_conversion ๐Ÿ”’
Convert the input array of a specific primitive type to a VariantArray row by row

Functionsยง

cast_to_variant
Casts a typed arrow [Array] to a VariantArray. This is useful when you need to convert a specific data type