[jira] [Created] (FLINK-1408) Add group sorting with expression key

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

[jira] [Created] (FLINK-1408) Add group sorting with expression key

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

             Summary: Add group sorting with expression key
                 Key: FLINK-1408
                 URL: https://issues.apache.org/jira/browse/FLINK-1408
             Project: Flink
          Issue Type: Improvement
          Components: Java API, Scala API
    Affects Versions: 0.9
            Reporter: Fabian Hueske
            Priority: Minor


Currently groups can only be sorted using field indexes (for tuples) and key selection function.

{{persons.groupBy("name").sortGroup("age", Order.DESCENDING).groupReduce(do-something-here);}}

Would be good to allow group sorting also with field expressions for Pojos.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)