pub fn sum_primitive<T>(array: &PrimitiveArray<T>) -> Option<T>
Available on crate feature
compute_aggregate
only.Expand description
Returns the sum of values in the array.
Returns None
if the array is empty or only contains null values.