[
https://issues.apache.org/jira/browse/ARROW-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jörn Horstmann reassigned ARROW-10216:
--------------------------------------
Assignee: Jörn Horstmann
> [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
> Assignee: Jörn Horstmann
> Priority: Major
>
> 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)