Function arrow::compute::try_unary_dyn
source ยท pub fn try_unary_dyn<F, T>(
array: &dyn Array,
op: F,
) -> Result<Arc<dyn Array>, ArrowError>where
T: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> Result<<T as ArrowPrimitiveType>::Native, ArrowError>,
๐Deprecated: Use arrow_array::AnyDictionaryArray
Expand description
Applies a fallible unary function to an array with primitive values.