arrow_arith::arity

Function try_unary_dyn

Source
pub fn try_unary_dyn<F, T>(
    array: &dyn Array,
    op: F,
) -> Result<ArrayRef, ArrowError>
where T: ArrowPrimitiveType, F: Fn(T::Native) -> Result<T::Native, ArrowError>,
👎Deprecated: Use arrow_array::AnyDictionaryArray
Expand description

Applies a fallible unary function to an array with primitive values.