arrow::compute

Function sum_array

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.