[
https://issues.apache.org/jira/browse/FLINK-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602728#comment-14602728
]
ASF GitHub Bot commented on FLINK-2279:
---------------------------------------
GitHub user gyfora opened a pull request:
https://github.com/apache/flink/pull/870
[FLINK-2279] [streaming] Add Connected Iteration
This PR introduces a new feature that allows the users to treat the
iteration head in a streaming iteration as a ConnectedDataStream of the
original and feedback input.
This allows the users to write elegant code without wrapper types and flags
to distinguish normal input from feedback.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gyfora/flink co_iteration
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/870.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #870
----
commit 939bcdd8e328003416a8cd337ef7de6feed849ce
Author: Gyula Fora <[email protected]>
Date: 2015-06-26T11:20:46Z
[FLINK-2279] [streaming] Add Connected Iteration
----
> Allow treating iteration head as ConnectedDataStream
> -----------------------------------------------------
>
> Key: FLINK-2279
> URL: https://issues.apache.org/jira/browse/FLINK-2279
> Project: Flink
> Issue Type: New Feature
> Components: Streaming
> Affects Versions: 0.10
> Reporter: Gyula Fora
> Assignee: Gyula Fora
> Priority: Minor
>
> Currently the streaming iterations are restricted to use the same input and
> feedback types which are routed through the same operator.
> This means that if the user want to distinguish between normal input and
> feedback record he/she needs to mark it somehow and also a wrapper type is
> necessary for handling separate input and feedback types.
> This makes implementing iterative algorithms (such as ML) quite ugly at some
> points.
> I propose to let the user treat the normal input if the iteration head
> operator and the feedback input as a ConnectedDataStream which can be used to
> apply co-operators both distinguishing the inputs and allowing different
> feedback types for elegant implementations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)