You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2020/12/08 06:03:00 UTC

[jira] [Resolved] (ARROW-10216) [Rust] Simd implementation of min/max aggregation kernels for primitive types

     [ https://issues.apache.org/jira/browse/ARROW-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Leitão resolved ARROW-10216.
----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 8685
[https://github.com/apache/arrow/pull/8685]

> [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
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> 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)