Jörn Horstmann created ARROW-10216: --------------------------------------
Summary: [Rust] Simd implementation of min/max aggregation kernels for primitive types Key: ARROW-10216 URL: https://issues.apache.org/jira/browse/ARROW-10216 Project: Apache Arrow Issue Type: Improvement Components: Rust Reporter: Jörn Horstmann Using a similar approach as the sum kernel (ARROW-10015). Instead of initializing the accumulator with 0 we'd need the largest/smallest possible value for each ArrowNumericType (i.e. u64::MAX or +-Inf) Pseudo code for min aggregation {code} // initialize accumulator min_acc = +Inf // aggregate each chunk min_acc = min(min_acc, select(valid, value, +Inf)) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)