beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Altay (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-3399) Documentation wrong for Session Windows (Python SDK)
Date Thu, 04 Jan 2018 17:53:00 GMT

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

Ahmet Altay updated BEAM-3399:
------------------------------
    Labels: starter  (was: )

> Documentation wrong for Session Windows (Python SDK)
> ----------------------------------------------------
>
>                 Key: BEAM-3399
>                 URL: https://issues.apache.org/jira/browse/BEAM-3399
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-python
>    Affects Versions: 2.2.0
>            Reporter: Ralf Hein
>            Assignee: Ahmet Altay
>            Priority: Minor
>              Labels: starter
>             Fix For: Not applicable
>
>
> The documentation for setting Session Windows via python SDK is wrong (Section 7.3.3).
> https://beam.apache.org/documentation/programming-guide/#setting-your-pcollections-windowing-function
> It says "time gap of at least 10 minutes" when introducing the example code, but the
code actually only sets a duration gap of 10 seconds.
> Reason: The duration needs to be passed in seconds, not minutes. So the example code
should read something like this:
> beam.WindowInto(window.Sessions(10*60)))
> Took me quite some time to figure this out ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message