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