Function arrow::compute::add_checked
source · pub fn add_checked<T>(
left: &PrimitiveArray<T>,
right: &PrimitiveArray<T>
) -> Result<PrimitiveArray<T>, ArrowError>where
T: ArrowNumericType,
<T as ArrowPrimitiveType>::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 add
instead.