[jira] [Created] (FLINK-1073) SortGroup() does not sort Combiner input

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-1073) SortGroup() does not sort Combiner input

Shang Yuanchun (Jira)
Fabian Hueske created FLINK-1073:
------------------------------------

             Summary: SortGroup() does not sort Combiner input
                 Key: FLINK-1073
                 URL: https://issues.apache.org/jira/browse/FLINK-1073
             Project: Flink
          Issue Type: Bug
          Components: Java API
    Affects Versions: 0.7-incubating, 0.6.1-incubating
            Reporter: Fabian Hueske
            Priority: Critical


Flink supports sorted input for GroupReduce operators by calling for example

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

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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)