flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3186) Deprecate DataSink.sortLocalOutput() methods
Date Fri, 18 Dec 2015 15:51:46 GMT
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

View raw message