lance_arrow::cast

Function cast_with_options

Source
pub fn cast_with_options(
    array: &dyn Array,
    to_type: &DataType,
    cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>
Expand description

Customized arrow_cast::cast_with_options that handles cases not supported upstream yet.