You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ahmet Altay (Jira)" <ji...@apache.org> on 2021/07/16 03:15:00 UTC
[jira] [Created] (BEAM-12626) Side inputs with Session windows are
not populated
Ahmet Altay created BEAM-12626:
----------------------------------
Summary: 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
In the following pipeline:
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))
side input values are always empty.
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)