arrow_cast::cast

Function cast_binary_to_fixed_size_binary

Source
fn cast_binary_to_fixed_size_binary<O: OffsetSizeTrait>(
    array: &dyn Array,
    byte_width: i32,
    cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>
Expand description

Helper function to cast from one BinaryArray or ‘LargeBinaryArray’ to ‘FixedSizeBinaryArray’.