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

Incorrect argument order calling BucketerContext#update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • None

    Description

      In StreamingFileSink.java :

          bucketerContext.update(context.timestamp(), currentProcessingTime, context.currentWatermark());
      

      However, the method update is declared as :

          void update(@Nullable Long elementTimestamp, long currentWatermark, long currentProcessingTime) {
      

      The second and third parameters seem to be swapped.

      Attachments

        Activity

          People

            kkl0u Kostas Kloudas
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: