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

Finch Jiang commented on BEAM-106:
----------------------------------

I want to implement some iterative algorithms, such as k-means. Is there any 
alternative to this problem before it is resolved?

> 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
>            Priority: Major
>
> 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:
> {code}
> PCollection data  = ...
> while(needsMoreWork(data)) {
>   data = doAStep(data)
> }
> {code}
> 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
(v8.3.2#803003)

Reply via email to