You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2016/03/10 18:27:41 UTC

[jira] [Created] (BEAM-106) Native support for conditional iteration

Luke Cwik created BEAM-106:
------------------------------

             Summary: Native support for conditional iteration
                 Key: BEAM-106
                 URL: https://issues.apache.org/jira/browse/BEAM-106
             Project: Beam
          Issue Type: New Feature
          Components: sdk-ideas
            Reporter: Luke Cwik
            Assignee: Luke Cwik


Ported from: https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/50

There are a variety of use cases which would benefit from native support for conditional iteration.

For instance, http://stackoverflow.com/questions/31654421/conditional-iterations-in-google-cloud-dataflow/31659923?noredirect=1#comment51264604_31659923 asks about being able to write a loop like the following:

PCollection data  = ...
while(needsMoreWork(data)) {
  data = doAStep(data)
}
If there are specific use cases please let us know the details. In the future we will use this issue to post progress updates.



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