You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 19:34:30 UTC

[GitHub] [beam] kennknowles opened a new issue, #18666: Empty flattens cannot be used as side inputs.

kennknowles opened a new issue, #18666:
URL: https://github.com/apache/beam/issues/18666

   {{with beam.Pipeline() as p:
     main = p | "CM" \>\> beam.Create([])
     side1 = p | "C1" \>\> beam.Create([])
     side2 = p | "C2" \>\> beam.Create([])
     side = (side1, side2) | beam.Flatten()
     res = main | beam.Map(lambda x, side: x, beam.pvalue.AsList(side))
   }}
   results in 
   {{
     File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/runners/direct/evaluation_context.py", line 84, in add_values
       assert not view.has_result
   }}
   
   Imported from Jira [BEAM-3393](https://issues.apache.org/jira/browse/BEAM-3393). Original Jira may contain additional context.
   Reported by: robertwb.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org