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 in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function sum_array

Source
pub fn sum_array<T, A>(array: A) -> Option<<T as ArrowPrimitiveType>::Native>
Expand description

Returns the sum of values in the array.

This doesn’t detect overflow. Once overflowing, the result will wrap around. For an overflow-checking variant, use sum_array_checked instead.