arrow_arith::aggregate

Function aggregate

Source
fn aggregate<T: ArrowNativeTypeOp, P: ArrowPrimitiveType<Native = T>, A: NumericAccumulator<T>>(
    array: &PrimitiveArray<P>,
) -> Option<T>
Expand description

Generic aggregation for any primitive type. Returns None if there are no non-null values in array.