[
https://issues.apache.org/jira/browse/FLINK-10359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai resolved FLINK-10359.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.1
1.8.0
1.6.3
Merged.
1.8.0 (master): 2f7bb1c89edc99fe6b433bec3000cdf087c2cf9e
1.7.1: 4f9485f30647105d6e01717faf6fcd11ceb679fe
1.6.3: 89fdf654c2aea536a3a15685bc3cc57bccbd420f
> Scala example in DataSet docs is broken
> ---------------------------------------
>
> Key: FLINK-10359
> URL: https://issues.apache.org/jira/browse/FLINK-10359
> Project: Flink
> Issue Type: Bug
> 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.8.0, 1.7.1
>
>
> 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)