[
https://issues.apache.org/jira/browse/FLINK-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15434500#comment-15434500
]
ASF GitHub Bot commented on FLINK-4453:
---------------------------------------
Github user wuchong commented on the issue:
https://github.com/apache/flink/pull/2411
Hi @fhueske , it seems that a Scala version of WindowFunction does exist,
which is `org.apache.flink.streaming.api.scala.function.WindowFunction`. And
both Scala WindowedStream and AllWindowedStream only accept the Scala version
of WindowFunction. The difference between Scala and Java version is that the
`input` parameter is a Scala Iterable and a Java Iterable.
> Scala code example in Window documentation shows Java
> -----------------------------------------------------
>
> Key: FLINK-4453
> URL: https://issues.apache.org/jira/browse/FLINK-4453
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.2.0
> Reporter: Fabian Hueske
> Assignee: Jark Wu
> Priority: Trivial
>
> The first code example in the section "WindowFunction - The Generic Case" of
> the window documentation of the 1.2 SNAPSHOT
> (https://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/windows.html#windowfunction---the-generic-case)
> shows Java code in the Scala tab.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)