You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2016/05/25 14:17:12 UTC

[jira] [Closed] (FLINK-3586) Risk of data overflow while use sum/count to calculate AVG value

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

Fabian Hueske closed FLINK-3586.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

Fixed with af0f41824a1b54b71060c9ddd4f4830d45436172

> Risk of data overflow while use sum/count to calculate AVG value
> ----------------------------------------------------------------
>
>                 Key: FLINK-3586
>                 URL: https://issues.apache.org/jira/browse/FLINK-3586
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API
>            Reporter: Chengxiang Li
>            Assignee: Fabian Hueske
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> Now, we use {{(sum: Long, count: Long}} to store AVG partial aggregate data, which may have data overflow risk, we should use unbounded data type(such as BigInteger) to store them for necessary data types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)