GitHub user chiwanpark opened a pull request:
https://github.com/apache/flink/pull/1585
[FLINK-3234] [dataSet] Add KeySelector support to sortPartition operation.
This PR contains following changes:
* Add `sortPartition` methods which receive a `KeySelector` instance or a
Scala lambda function
* Add `SortPartitionOperator` constructor which takes
`Keys.SelectorFunctionKeys`
* Add `getFlatFields` method to `SortPartitionOperator` class for
`Keys.SelectorFunctionKeys`
* Add some test cases
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chiwanpark/flink FLINK-3234
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1585.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1585
----
commit 8dc8845449b494f1495965015d96f114551abc31
Author: Chiwan Park <[email protected]>
Date: 2016-02-04T11:46:10Z
[FLINK-3234] [dataSet] Add KeySelector support to sortPartition operation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---