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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Chengxiang Li created FLINK-3586:
------------------------------------

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