arrow_cast::cast::string

Function cast_binary_to_string

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

A specified helper to cast from GenericBinaryArray to GenericStringArray when they have same offset size so re-encoding offset is unnecessary.