You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/01/11 20:25:16 UTC

[jira] [Resolved] (FLINK-5427) Typo in the event_timestamps_watermarks doc

     [ https://issues.apache.org/jira/browse/FLINK-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-5427.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

Fixed in
  - 1.2.0 via 1750b0dda8c243a215dcd558baf36ea1053a4310
  - 1.3.0 via 03b62ae50ea97f48a845c2dddd6733c6defd4090

> Typo in the event_timestamps_watermarks doc
> -------------------------------------------
>
>                 Key: FLINK-5427
>                 URL: https://issues.apache.org/jira/browse/FLINK-5427
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.2.0
>            Reporter: Yelei Feng
>            Priority: Minor
>              Labels: documentation
>             Fix For: 1.2.0, 1.3.0
>
>
> I was reading the watermark doc: https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/event_timestamps_watermarks.html
> We should replace element with lastElement in the body of method checkAndGetNextWatermark:
> {code:java}
> public Watermark checkAndGetNextWatermark(MyEvent lastElement, long extractedTimestamp) {
> 		return element.hasWatermarkMarker() ? new Watermark(extractedTimestamp) : null;
> 	}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)