[ 
https://issues.apache.org/jira/browse/FLINK-27890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550160#comment-17550160
 ] 

CodeRap commented on FLINK-27890:
---------------------------------

Bug introduced by FLINK-19317 [~aljoscha]

It assigns the TimestampsAndWatermarks but not uses the return result for the 
next step

Please assign this ticket to me cc [~aljoscha] 

 

 

 

> 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
>            Priority: Major
>
> 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)

Reply via email to