Skip to main content

cast_string_to_duration

Function cast_string_to_duration 

Source
pub(crate) fn cast_string_to_duration<D, O>(
    array: &dyn Array,
    cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>
where D: ArrowTemporalType<Native = i64> + Parser, O: OffsetSizeTrait,
Expand description

Casts generic string arrays to a Duration type