[
https://issues.apache.org/jira/browse/FLINK-10359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-10359:
-------------------------------------
Issue Type: Improvement (was: Bug)
> Scala example in DataSet docs is broken
> ---------------------------------------
>
> Key: FLINK-10359
> URL: https://issues.apache.org/jira/browse/FLINK-10359
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 1.5.3, 1.6.0, 1.7.0
> Reporter: Fabian Hueske
> Assignee: vinoyang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.3, 1.7.1, 1.8.0
>
>
> The Scala example of
> [https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/batch/dataset_transformations.html#combinable-groupreducefunctions]
> is broken.
> The {{asScala}} and the {{reduce}} call fetch the Java {{Iterator}} which may
> only fetched once.
> {quote}The Iterable can be iterated over only once. Only the first call to
> 'iterator()' will succeed.{quote}
> While we are on it, it would make sense to check the other examples as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)