Function datafusion_python::datafusion_common::arrow::compute::try_binary_mut
source ยท pub fn try_binary_mut<T, F>(
a: PrimitiveArray<T>,
b: &PrimitiveArray<T>,
op: F,
) -> Result<Result<PrimitiveArray<T>, ArrowError>, PrimitiveArray<T>>where
T: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native) -> Result<<T as ArrowPrimitiveType>::Native, ArrowError>,Expand description
Applies the provided fallible binary operation across a and b by mutating the mutable
PrimitiveArray a with the results, returning any error. If any index is null in
either a or b, the corresponding index in the result will also be null
Like try_unary the function is only evaluated for non-null indices
See binary_mut for errors and buffer reuse information