fn overflowing_op<T, F>(
l: &PrimitiveArray<T>,
l_s: bool,
r: &PrimitiveArray<T>,
r_s: bool,
op: F,
) -> Result<Option<PrimitiveArray<T>>, ArrowError>where
T: ArrowPrimitiveType,
T::Native: OverflowingOp,
F: Fn(T::Native, T::Native) -> (T::Native, bool),Expand description
Applies op to every slot of l and r, including null slots, without
branching on overflow.
Returns Ok(None) if a valid row overflowed or the array lengths differ,
so the caller can fall back to the checked kernel to report the error.