[
https://issues.apache.org/jira/browse/BEAM-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17131796#comment-17131796
]
Beam JIRA Bot commented on BEAM-3393:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> Empty flattens cannot be used as side inputs.
> ---------------------------------------------
>
> Key: BEAM-3393
> URL: https://issues.apache.org/jira/browse/BEAM-3393
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Robert Bradshaw
> Priority: P2
> Labels: stale-P2
>
> {{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
> }}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)