[
https://issues.apache.org/jira/browse/FLINK-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165271#comment-14165271
]
Fabian Hueske commented on FLINK-1105:
--------------------------------------
During program construction, [Java API
operators|https://github.com/apache/incubator-flink/tree/master/flink-java/src/main/java/org/apache/flink/api/java/operators]
are converted in [generic
operators|https://github.com/apache/incubator-flink/tree/master/flink-core/src/main/java/org/apache/flink/api/common/operators]
which are used during optimization.
The [generic
DataSink|https://github.com/apache/incubator-flink/blob/master/flink-core/src/main/java/org/apache/flink/api/common/operators/GenericDataSinkBase.java]
already supports sorted output, so the solving this issue boils down to
extending the API and forwarding the info during the program construction.
> Add support for locally sorted output
> -------------------------------------
>
> Key: FLINK-1105
> URL: https://issues.apache.org/jira/browse/FLINK-1105
> Project: Flink
> Issue Type: Sub-task
> Components: Java API
> Reporter: Fabian Hueske
> Assignee: Sergey Dudoladov
> Priority: Minor
>
> This feature will make it possible to sort the output which is sent to an
> OutputFormat to obtain a locally sorted result.
> This feature was available in the "old" Java API and has not be ported to the
> new Java API yet. Hence optimizer and runtime should already have support for
> this feature. However, the API and job generation part is missing.
> It is also a subfeature of FLINK-598 which will provide also globally sorted
> results.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)