Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
sum_array_checked in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function sum_array_checked

Source
pub fn sum_array_checked<T, A>(
    array: A,
) -> Result<Option<<T as ArrowPrimitiveType>::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.