Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-106

Native support for conditional iteration

Details

    • New Feature
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-ideas
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lcwik Luke Cwik
              Votes:
              9 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated: