cozos commented on issue #24035:
URL: https://github.com/apache/beam/issues/24035#issuecomment-1329949946

   > If a PCollection serves as side-input to multiple ParDos, it would be 
evaluated, collected on the driver and finally broadcasted repeatedly for every 
such ParDo.
   
   @mosche does this mean the pcollections are re-computed? So if you do:
   
   ```py
   pcoll_1 = pipeline | "ParDo 1" >> ParDo(...)
   pcoll_2 = pipeline | "ParDo 2" >> ParDo(..., my_side_input=pcoll_1)
   pcoll_3 = pipeline | "ParDo 3" >>  ParDo(..., my_side_input=pcoll_2)
   ```
   
   Will `ParDo 1` be computed 3 times, and `ParDo 2` be computed 2 times?


-- 
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]

Reply via email to