arrow_cast::cast

Function cast_fixed_size_binary_to_binary

Source
fn cast_fixed_size_binary_to_binary<O: OffsetSizeTrait>(
    array: &dyn Array,
    byte_width: i32,
) -> Result<ArrayRef, ArrowError>
Expand description

Helper function to cast from ‘FixedSizeBinaryArray’ to one BinaryArray or ‘LargeBinaryArray’. If the target one is too large for the source array it will return an Error.