flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5984) Allow reusing of accumulators in AggregateFunction
Date Tue, 07 Mar 2017 15:43:38 GMT
Timo Walther created FLINK-5984:
-----------------------------------

             Summary: Allow reusing of accumulators in 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


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)

Mime
View raw message