You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/07/11 19:56:00 UTC

[jira] [Commented] (FLINK-7152) use CombineOutputSelector instead of outputSelector list

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

Stephan Ewen commented on FLINK-7152:
-------------------------------------

I think that this way of using {{select(...)}} on the stream to split it up may be removed soon.
We recently added "side outputs" which is a more flexible/powerful/efficient way of splitting a stream.

Adding [~aljoscha] to this, he worked on the side outputs.

> use CombineOutputSelector instead of outputSelector list
> --------------------------------------------------------
>
>                 Key: FLINK-7152
>                 URL: https://issues.apache.org/jira/browse/FLINK-7152
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Xu Pingyong
>            Assignee: Xu Pingyong
>
> There is a list of  outputSelector in streamNode and streamOperator. 
> Every outputSelector returns  a string list:
>   
> {code:java}
>  Iterable<String> select(OUT value);
> {code}
> then string results of all  outputSelectors will be unioned in the streamTask when outputing a record.
> So I want to introduce CombineOutputSelector to union these results, and only one OutputSelector is needed in streamNode and streamOperator.



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