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
[BEAM-8575] Added a unit test to CombineTest class to test that Combi… #10159
[BEAM-8575] Added a unit test to CombineTest class to test that Combi… #10159
Conversation
The Java parity of this test is: There are three things to clarify:
The Python test followed the Java test. |
R: @robertwb |
I re-implemented the test in two different ways:
Both tests succeeded no matter the accumulating mode is ACCUMULATING or DISCARDING. |
I re-implemented the test using TestStream, and fixed the order of add_elements and advance_watermark_to. |
I re-implemented the test using TestStream, and fixed the order of add_elements and advance_watermark_to. I also tried mixing and matching FixedWindows, GlobalWindows with trigger=Repeatedly(AfterCount(1)), trigger=AfterWatermark(early=AfterCount(1)). It seems in both ACCUMULATING mode and DISCARDING mode, all the TimestampedValues are in one single pane. |
Solved the previous problem (all elements crowded into a single firing pane) by make the test pipeline viewed as a streaming. I also added some code to record firing panes so that the difference between ACCUMULATING and DISCARDING modes is obvious. |
Note that The number of firings is uncertain. |
Is this PR ready for another round of review? |
da6904e
to
2c5d1fd
Compare
Run Python PreCommit |
862cf2f
to
29b6c39
Compare
…neGlobally works fine under hot-key fanout and in accumulation mode at the same time.
fdee934
to
dd66920
Compare
Run Python PreCommit |
retest this please |
Run Python PreCommit |
Retest this please |
1 similar comment
Retest this please |
…neGlobally works fine with fanout and in accumulation mode at the same time.
Added a unit test to CombineTest class to test that CombineGlobally works fine with fanout and in accumulation mode at the same time.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.