[ 
https://issues.apache.org/jira/browse/FLINK-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther resolved FLINK-5984.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

Fixed in 1.3.0: 65ccf7cdfa9a52ccc7edcab3615b147f8dafdee7

> 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
>             Fix For: 1.3.0
>
>
> 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)

Reply via email to