flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3586) Risk of data overflow while use sum/count to calculate AVG value
Date Wed, 25 May 2016 14:16:12 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300111#comment-15300111
] 

ASF GitHub Bot commented on FLINK-3586:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/2024


> 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
>
> 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)

Mime
View raw message