You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/16 03:18:00 UTC

[jira] [Work logged] (BEAM-12626) Side inputs with Session windows are not populated

     [ https://issues.apache.org/jira/browse/BEAM-12626?focusedWorklogId=623375&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-623375 ]

ASF GitHub Bot logged work on BEAM-12626:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Jul/21 03:17
            Start Date: 16/Jul/21 03:17
    Worklog Time Spent: 10m 
      Work Description: aaltay commented on pull request #15173:
URL: https://github.com/apache/beam/pull/15173#issuecomment-881145893


   > Jira for tracking?
   
   Done and thank you for the review.


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

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


Issue Time Tracking
-------------------

            Worklog Id:     (was: 623375)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)