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

Zakelly Lan commented on FLINK-37420:
-------------------------------------

Master: 141363f0

2.0: in progress

> AbstractAggregatingState add may return wrong result
> ----------------------------------------------------
>
>                 Key: FLINK-37420
>                 URL: https://issues.apache.org/jira/browse/FLINK-37420
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>    Affects Versions: 2.0.0
>            Reporter: Yue Ma
>            Assignee: Yue Ma
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> When calling _add()_ in *AbstractAggregatingState* , if the acc is empty, the 
> value of _updateInternal_ will only be 
> _this.aggregateFunction.createAccumulator()_ , but it should actually be 
> this.{_}aggregateFunction.add(value, 
> this.aggregateFunction.createAccumulator()){_}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to