You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2017/10/13 15:41:00 UTC

[jira] [Created] (FLINK-7837) AggregatingFunction does not work with immutable types

Aljoscha Krettek created FLINK-7837:
---------------------------------------

             Summary: AggregatingFunction does not work with immutable types
                 Key: FLINK-7837
                 URL: https://issues.apache.org/jira/browse/FLINK-7837
             Project: Flink
          Issue Type: Bug
          Components: DataStream API
            Reporter: Aljoscha Krettek
            Assignee: Aljoscha Krettek
            Priority: Blocker
             Fix For: 1.4.0


Currently {{add()}} has this signature:
{code}
void add(IN value, ACC accumulator);
{code}

meaning that a value can only be added to an accumulator by modifying the accumulator. This should be extended to:
{code}
ACC add(IN value, ACC accumulator);
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)