-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[Bug]: typo in docs - Python Composition with AfterWatermark example #34224
Copy link
Copy link
Closed
Description
What happened?
I was reading through the Triggers examples, and I feel there's a typo in https://beam.apache.org/documentation/programming-guide/#composite-afterwatermark
Here's the example description from docs:
You can express this pattern using AfterWatermark. For example, the following example trigger code fires on the following conditions:
On Beam’s estimate that all the data has arrived (the watermark passes the end of the window)
Any time late data arrives, after a ten-minute delay
After two days, we assume no more data of interest will arrive, and the trigger stops executing
pcollection | WindowInto(
FixedWindows(1 * 60),
trigger=AfterWatermark(late=AfterProcessingTime(10 * 60)),
allowed_lateness=10, ###--> I think it should be allowed_lateness=2
accumulation_mode=AccumulationMode.DISCARDING)
Issue Priority
Priority: 3 (minor)
Issue Components
- Component: Python SDK
- Component: Java SDK
- Component: Go SDK
- Component: Typescript SDK
- Component: IO connector
- Component: Beam YAML
- Component: Beam examples
- Component: Beam playground
- Component: Beam katas
- Component: Website
- Component: Infrastructure
- Component: Spark Runner
- Component: Flink Runner
- Component: Samza Runner
- Component: Twister2 Runner
- Component: Hazelcast Jet Runner
- Component: Google Cloud Dataflow Runner
Reactions are currently unavailable