pub fn subtract_checked<T>(
    left: &PrimitiveArray<T>,
    right: &PrimitiveArray<T>
) -> Result<PrimitiveArray<T>, ArrowError>where
    T: ArrowNumericType,
    T::Native: ArrowNativeTypeOp,
Expand description

Perform left - right operation on two arrays. If either left or right value is null then the result is also null.

This detects overflow and returns an Err for that. For an non-overflow-checking variant, use subtract instead.