You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "XiaoWen Wei (Jira)" <ji...@apache.org> on 2022/06/03 07:17:00 UTC

[jira] [Created] (FLINK-27890) bug of SideOutputExample.java

XiaoWen Wei created FLINK-27890:
-----------------------------------

             Summary: bug of SideOutputExample.java
                 Key: FLINK-27890
                 URL: https://issues.apache.org/jira/browse/FLINK-27890
             Project: Flink
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.15.0
         Environment: # flink version 1.15
 # jdk 1.8
 # scala 2.12
            Reporter: XiaoWen Wei
             Fix For: 1.15.0


The bug appears on line 87 of flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/sideoutput/SideOutputExample.javaļ¼š
{code:java}
text.assignTimestampsAndWatermarks(IngestionTimeWatermarkStrategy.create()); {code}
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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)