You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shaoxuan Wang (JIRA)" <ji...@apache.org> on 2018/11/28 09:22:00 UTC

[jira] [Closed] (FLINK-11004) Wrong ProcessWindowFunction.process argument in example of Incremental Window Aggregation with ReduceFunction

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

Shaoxuan Wang closed FLINK-11004.
---------------------------------
    Resolution: Fixed

Fixed and merged into master

> Wrong ProcessWindowFunction.process argument in example of Incremental Window Aggregation with ReduceFunction
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-11004
>                 URL: https://issues.apache.org/jira/browse/FLINK-11004
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4.2, 1.5.5, 1.6.2
>            Reporter: Yuanyang Wu
>            Priority: Major
>              Labels: pull-request-available
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> [https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/stream/operators/windows.html#incremental-window-aggregation-with-reducefunction]
> Example use wrong "window" argument in process()
> {{JAVA example}}
> {{- out.collect(new Tuple2<Long, SensorReading>({color:#d04437}window{color}.getStart(), min));}}
> {{+ out.collect(new Tuple2<Long, SensorReading>({color:#14892c}context.window(){color}.getStart(), min));}}
>  
> {{Scala example 2nd argument should be context:Context instead of window}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)