[ https://issues.apache.org/jira/browse/FLINK-37420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zakelly Lan resolved FLINK-37420. --------------------------------- Resolution: Fixed > 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)