You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "David Anderson (Jira)" <ji...@apache.org> on 2022/06/13 08:26:00 UTC
[jira] [Resolved] (FLINK-27890) bug of SideOutputExample.java
[ https://issues.apache.org/jira/browse/FLINK-27890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Anderson resolved FLINK-27890.
------------------------------------
Fix Version/s: 1.16.0
1.15.1
Resolution: Fixed
Merged in master with [{{a70e704}}|https://github.com/apache/flink/commit/a70e7045a3eabacb50f54a204bcde4fe554d8e8b]
Merged in release-1.15 with [{{6fcec2c}}|https://github.com/apache/flink/commit/6fcec2cf464f0467c3bb5ca3d249ac3ac754820a]
> 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
> Assignee: CodeRap
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0, 1.15.1
>
>
> 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)