[jira] [Created] (FLINK-3186) Deprecate DataSink.sortLocalOutput() methods

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

[jira] [Created] (FLINK-3186) Deprecate DataSink.sortLocalOutput() methods

Shang Yuanchun (Jira)
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)