You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/18 06:25:00 UTC

[jira] [Updated] (ARROW-9779) [Rust] [DataFusion] Increase stability of average accumulator

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

ASF GitHub Bot updated ARROW-9779:
----------------------------------
    Labels: pull-request-available  (was: )

> [Rust] [DataFusion] Increase stability of average accumulator
> -------------------------------------------------------------
>
>                 Key: ARROW-9779
>                 URL: https://issues.apache.org/jira/browse/ARROW-9779
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust, Rust - DataFusion
>            Reporter: Jorge
>            Assignee: Jorge
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, our method to compute the average is based on:
> 1. compute sum of all terms
> 2. compute count of all terms
> 3. compute sum / count
> however, the sum may overflow.
> There is a typical solution to this based on an online formula described e.g. [here|http://www.heikohoffmann.de/htmlthesis/node134.html] to keep the numbers small.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)