[ 
https://issues.apache.org/jira/browse/BEAM-12984?focusedWorklogId=658498&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-658498
 ]

ASF GitHub Bot logged work on BEAM-12984:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Sep/21 17:08
            Start Date: 30/Sep/21 17:08
    Worklog Time Spent: 10m 
      Work Description: KevinGG merged pull request #15623:
URL: https://github.com/apache/beam/pull/15623


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 658498)
    Time Spent: 1h 40m  (was: 1.5h)

> InteractiveRunner cannot collect PCollections from composites 
> --------------------------------------------------------------
>
>                 Key: BEAM-12984
>                 URL: https://issues.apache.org/jira/browse/BEAM-12984
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-py-interactive
>            Reporter: Sam Rohde
>            Assignee: Sam Rohde
>            Priority: P2
>             Fix For: 2.34.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following code will complain and throw an exception that there is no 
> producer for some PCollection. 
> ```
> import apache_beam as beam
> import apache_beam.runners.interactive.interactive_beam as ib
> import apache_beam.runners.interactive.interactive_runner as ir
>  
> @beam.ptransform_fn
> def Foo(pcoll):
>   p1 = pcoll | 'ident' >> beam.Map(lambda n: n)
>   p2 = pcoll | 'to str' >> beam.Map(str)
>   return {'pc1': p1, 'pc2': p2}
>  
> p = beam.Pipeline(ir.InteractiveRunner())
> res = p | 'my create' >> beam.Create([1]) | 'my foo' >> Foo()
> ib.collect(res['pc1'])
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to