Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3186

Deprecate DataSink.sortLocalOutput() methods

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • API / DataSet
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            smarthi Suneel Marthi
            fhueske Fabian Hueske
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment