pub(super) fn sum_checked<I: RunEndIndexType, V: ArrowNumericType>( array: &dyn Array, ) -> Result<Option<V::Native>, ArrowError>
Computes the sum (erroring on overflow) of the array values.