-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Attempt prism for pipelines with unbounded PCollections. #34721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Also fix error with terminal state checking.
c70404a
to
f0f7a42
Compare
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
640e8df
to
d3a6dad
Compare
An attempt at fixing #34768 Note that several tests use periodic impulse which does work with the Python in-process runner as long as the number of impulses is finite. These tests also break on PrismRunner. |
d3a6dad
to
fb543a4
Compare
cc: @shunping |
Assigning reviewers. If you would like to opt out of this review, comment R: @liferoad for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
''' | ||
self.start_ts = start_timestamp | ||
self.stop_ts = stop_timestamp | ||
self.interval = fire_interval | ||
self.apply_windowing = apply_windowing | ||
self.is_bounded = ( | ||
stop_timestamp - start_timestamp > 60 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the code comment above, I think it should be "< 60" since it is considered as bounded for a small time range.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I accidentally flipped the direction in my refactor. Fixed.
fb543a4
to
9cc1da4
Compare
Is it ready for re-review or still under revision? (just checking on 7d < last update < 14d PRs) |
Thanks for following up. This PR is plagued by the fact that it pushes more tests onto the Prism runner that used to run (just fine) on the old Python runner, but break on the Prism runner. Simply fixing the runner likely won't work well with the use of TestPipeline() to run these tests on a variety of runners. I haven't had time to figure out the best way to resolve this. |
Also fix error with terminal state checking.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.