[
https://issues.apache.org/jira/browse/FLINK-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901574#comment-15901574
]
ASF GitHub Bot commented on FLINK-5984:
---------------------------------------
Github user fhueske commented on the issue:
https://github.com/apache/flink/pull/3496
Thanks @shaoxuan-wang. The PR looks good.
FLINK-5983 has been merged and FLINK-5963 will be merged soon.
It would be great if you could rebase your code on the master once that was
done.
Thanks, Fabian
> Add resetAccumulator method for AggregateFunction
> -------------------------------------------------
>
> Key: FLINK-5984
> URL: https://issues.apache.org/jira/browse/FLINK-5984
> Project: Flink
> Issue Type: Improvement
> Components: Table API & SQL
> Reporter: Timo Walther
> Assignee: Shaoxuan Wang
>
> Right now we have to create a new accumulator object if we just want to reset
> it. We should allow passing the old one as a {{reuse}} object to
> {{AggregateFunction#createAccumulator}}. The aggregate function then can
> decide if it wants to create a new object or reset the old one.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)