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

SortGroup() does not sort Combiner input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.6.1-incubating, 0.7.0-incubating
    • None
    • None

    Description

      Flink supports sorted input for GroupReduce operators by calling for example

      myData.groupBy(1).sortGroup(2, Order.ASCENDING).reduceGroup(new MyReducer());
      

      This code will sort the input of the function MyReducer.reduce() on the third field.
      However, the input of MyReducer.combine() is not sorted, which is an unexpected behavior, IMO.

      Attachments

        Activity

          People

            fhueske Fabian Hueske
            fhueske Fabian Hueske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: