[
https://issues.apache.org/jira/browse/FLINK-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Hueske resolved FLINK-168.
---------------------------------
Resolution: Fixed
This has been implemented for the new Java API some time ago.
For the Scala API, this will be part of FLINK-641
> Add support for sorted groups
> -----------------------------
>
> Key: FLINK-168
> URL: https://issues.apache.org/jira/browse/FLINK-168
> Project: Flink
> Issue Type: Improvement
> Reporter: GitHub Import
> Labels: github-import
> Fix For: pre-apache
>
>
> Add support for sorted groups (aka secondary sort) for groupBy and coGroup
> data streams.
> In the generic case of custom sort comparators for groupBy this could look
> for example like:
> myInput groupBy { _._1 }
> sortBy { (x,y) => if (x._2 < y._2) 1 else if (x._2 == y._2) 0 else -1 }
> hadoopReduce { doSomething }
> There should also be shortcuts for (asc, desc) sorts on tuple fields.
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/168
> Created by: [fhueske|https://github.com/fhueske]
> Labels: enhancement, scala api,
> Milestone: Release 0.4
> Assignee: [aljoscha|https://github.com/aljoscha]
> Created at: Wed Oct 16 16:25:07 CEST 2013
> State: open
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)