Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7837

AggregatingFunction does not work with immutable types

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.4.0
    • API / DataStream
    • None

    Description

      Currently add() has this signature:

      void add(IN value, ACC accumulator);
      

      meaning that a value can only be added to an accumulator by modifying the accumulator. This should be extended to:

      ACC add(IN value, ACC accumulator);
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aljoscha Aljoscha Krettek
            aljoscha Aljoscha Krettek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment