arrow_arith::arity

Function unary_dyn

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

Applies an infallible unary function to an array with primitive values.