You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2015/12/18 16:51:46 UTC
[jira] [Created] (FLINK-3186) Deprecate DataSink.sortLocalOutput()
methods
Fabian Hueske created FLINK-3186:
------------------------------------
Summary: Deprecate DataSink.sortLocalOutput() methods
Key: FLINK-3186
URL: https://issues.apache.org/jira/browse/FLINK-3186
Project: Flink
Issue Type: Task
Components: DataSet API
Affects Versions: 1.0.0
Reporter: Fabian Hueske
Fix For: 1.0.0
The DataSet API {{DataSink}} offers a method {{sortLocalOutput()}} to sort the output before it is handed to the {{OutputFormat}}.
I propose to deprecate (and eventually remove) this method, because the same functionality can be achieved by using {{DataSet.sortPartition()}}. {{sortPartition()}} is more generic and has no drawbacks compared to {{sortLocalOutput()}}. Removing {{sortLocalOutput()}} would clean up the API and remove unnecessary code paths.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)