Skip to main content

Module cast_to_variant

Module cast_to_variant 

Source

Re-exportsยง

use crate::arrow_to_variant::make_arrow_to_variant_row_builder; ๐Ÿ”’
use crate::VariantArray; ๐Ÿ”’
use crate::VariantArrayBuilder; ๐Ÿ”’
use arrow::array::Array; ๐Ÿ”’
use arrow::compute::CastOptions; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’

Functionsยง

cast_to_variant
Convert an array to a VariantArray with strict mode enabled (returns errors on conversion failures).
cast_to_variant_with_options
Casts a typed arrow [Array] to a VariantArray. This is useful when you need to convert a specific data type