You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2014/10/08 09:51:33 UTC

[jira] [Commented] (FLINK-1140) Add a flatmap that returns an Iterable instead of aggregation to a collector

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

Aljoscha Krettek commented on FLINK-1140:
-----------------------------------------

We already have this in the Scala API.

> Add a flatmap that returns an Iterable instead of aggregation to a collector 
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-1140
>                 URL: https://issues.apache.org/jira/browse/FLINK-1140
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API, Scala API, Streaming
>    Affects Versions: 0.8-incubating
>            Reporter: Márton Balassi
>            Assignee: Márton Balassi
>
> This would enable more concise lambda function usage like the flatmap here:
> flatMap(sentence -> Arrays.asList(sentence.split(" ")))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)