You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zakelly Lan (Jira)" <ji...@apache.org> on 2025/03/04 17:20:00 UTC
[jira] [Assigned] (FLINK-37420) AbstractAggregatingState add may return wrong result
[ https://issues.apache.org/jira/browse/FLINK-37420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zakelly Lan reassigned FLINK-37420:
-----------------------------------
Assignee: Yue Ma
> 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)