You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/09/19 06:03:00 UTC
[jira] [Assigned] (FLINK-10359) Scala example in DataSet docs is
broken
[ https://issues.apache.org/jira/browse/FLINK-10359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vinoyang reassigned FLINK-10359:
--------------------------------
Assignee: vinoyang
> 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
>
> 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)