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

Add getGroupKey() method to group-at-time operators

    XMLWordPrintableJSON

Details

    Description

      Group-at-a-time operators (Reduce & CoGroup) work on multiple records in one UDF call. Often these UDFs need to access the key that is common to all records of a group.

      We could add a function to set a the key of a group before the UDF is called (``setGroupKey()``) and a function to get the key (``getGroupKey()``) that can be called from the UDF.

      What do you think about this?

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/stratosphere/stratosphere/issues/553
      Created by: fhueske
      Labels: enhancement, java api, scala api, user satisfaction,
      Assignee: aalexandrov
      Created at: Mon Mar 10 22:28:27 CET 2014
      State: open

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: