[ 
https://issues.apache.org/jira/browse/BEAM-12626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmet Altay updated BEAM-12626:
-------------------------------
    Fix Version/s: 2.33.0

> Side inputs with Session windows are not populated
> --------------------------------------------------
>
>                 Key: BEAM-12626
>                 URL: https://issues.apache.org/jira/browse/BEAM-12626
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Assignee: Ahmet Altay
>            Priority: P2
>             Fix For: 2.33.0
>
>
> In the following pipeline, side input values are always empty:
> {code:python}
> windowed = (
>     p
>     | beam.Create([('k', 1), ('k', 2), ('k', 20)])
>     | beam.MapTuple(
>         lambda k, v: beam.transforms.window.TimestampedValue((k, v), v))
>     | beam.WindowInto(beam.transforms.window.Sessions(10)))
> windowed | beam.Map(lambda k, si: (k, si), beam.pvalue.AsIter(windowed))
> {code}
> The problem does not happen with FixedWindows, and in Java similarly formed 
> pipelines (side input with Sessions windows) are rejected 
> (https://github.com/apache/beam/blob/8463a054c1d7e2b7ee8d11e9569e065cb5e02196/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Sessions.java#L97)



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

Reply via email to