apache / apache/beam

Python AfterAny, AfterAll do not follow spec

Open
#21,262 5 comments 0 reactions 0 assignees View on GitHub
bug core P2 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Both AfterAll and AfterAny should complete after firing, but they base their logic on the subtriggers, but they instead only finish if all the fired subtriggers or any of the fired subtriggers finish. This makes it possible for them to never finish.

For more info, see discussion in https://github.com/apache/beam/pull/15603

Imported from Jira [BEAM-13076](https://issues.apache.org/jira/browse/BEAM-13076). Original Jira may contain additional context.
Reported by: zhoufek.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.