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

SideOutputExample.java fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.15.1, 1.16.0
    • Examples
      1. flink version 1.15
      2. jdk 1.8
      3. scala 2.12

    Description

      The bug appears on line 87 of flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/sideoutput/SideOutputExample.javaļ¼š

      text.assignTimestampsAndWatermarks(IngestionTimeWatermarkStrategy.create()); 

      This line forgets to set the return value, so the timestamp is not assigned to the element in text. As a result, running this code throws an error.

      Attachments

        Issue Links

          Activity

            People

              coderap CodeRap
              wxwmd XiaoWen Wei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: