Function arrow_arith::aggregate::sum_array_checked

source ยท
pub fn sum_array_checked<T, A: ArrayAccessor<Item = T::Native>>(
    array: A,
) -> Result<Option<T::Native>, ArrowError>
Expand description

Returns the sum of values in the array.

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