[ 
https://issues.apache.org/jira/browse/FLINK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295484#comment-16295484
 ] 

Tzu-Li (Gordon) Tai commented on FLINK-8285:
--------------------------------------------

[~JBiason] just as a side note irrelevant to this JIRA, 
{{DataStream.collect()}} should also work for what you are trying to do.

> Iterator Data Sink doesn't mention required module
> --------------------------------------------------
>
>                 Key: FLINK-8285
>                 URL: https://issues.apache.org/jira/browse/FLINK-8285
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4.0
>         Environment: Linux CentOS/7
>            Reporter: Julio Biason
>
> In the docs about 
> [https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/datastream_api.html#iterator-data-sink],
>  it's mentioned that one could use an interator for retrieving the result of 
> the stream.
> But there is no mention of any external packages (as it happens with some 
> examples in the metrics) and trying to use causes an error:
> [error] object contrib is not a member of package org.apache.flink
> [error] import org.apache.flink.contrib.streaming.DataStreamUtils
> The line in question (as copied'n'pasted directly from the examples):
> import org.apache.flink.contrib.streaming.DataStreamUtils
> (PS: Source is in Scala, not Java)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to