Skip to content
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-97] Input watermarks can never be null #30

Closed
wants to merge 5 commits into from
Closed

[BEAM-97] Input watermarks can never be null #30

wants to merge 5 commits into from

Conversation

mshields822
Copy link
Contributor

No description provided.

@mshields822
Copy link
Contributor Author

R=@kennknowles

@mshields822
Copy link
Contributor Author

This also includes some additional comments and asserts related to pairing output watermark holds with their cleanup timers. They could be separated but since everything is around watermark hold robustness I think we should keep them together.

@mshields822
Copy link
Contributor Author

Hold off on this one please.

@mshields822
Copy link
Contributor Author

@kennknowles
To to reiterate - this one need to wait for a corresponding Google worker cl, and that needs to wait for some backward compat tests to go through.

@mshields822
Copy link
Contributor Author

@kennknowles
This is now ready to go in.

@@ -172,6 +172,8 @@ public boolean shouldFire(W window, Timers timers, StateAccessor<?> state) throw
}

public void onFire(W window, Timers timers, StateAccessor<?> state) throws Exception {
// shouldFire should be false.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo? I think rootTrigger.invokeShouldFire(context) should be true, otherwise it is forbidden to call invokeOnFire.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@kennknowles
Copy link
Member

Nice. This makes things so much cleaner.

@mshields822
Copy link
Contributor Author

PTAL

@mshields822
Copy link
Contributor Author

Oh, I'm too late for the rename - will need to rebase.

@mshields822
Copy link
Contributor Author

All good.

@asfgit asfgit closed this in 49d82ba Mar 25, 2016
davorbonaci added a commit to GoogleCloudPlatform/DataflowJavaSDK that referenced this pull request Mar 25, 2016
echauchot added a commit to echauchot/beam that referenced this pull request May 12, 2017
cosmoskitten pushed a commit to cosmoskitten/beam that referenced this pull request Jun 16, 2017
query5: Add comment on key lifting (issue apache#30)

query10: Add comment for strange groupByKey (issue apache#31)

query11: Replace Count.perKey by Count.perElement (issue apache#32)
asfgit pushed a commit that referenced this pull request Aug 23, 2017
query5: Add comment on key lifting (issue #30)

query10: Add comment for strange groupByKey (issue #31)

query11: Replace Count.perKey by Count.perElement (issue #32)
lukecwik referenced this pull request in lukecwik/incubator-beam Mar 22, 2018
Add ControlClientPool interface and fix broken JobResourceManagerTest
robertwb pushed a commit to robertwb/incubator-beam that referenced this pull request Apr 30, 2020
* Rewrite github_sample to 1 line

* Add license to table shortcode
hengfengli referenced this pull request in hengfengli/beam Mar 21, 2022
sjvanrossum pushed a commit to sjvanrossum/beam that referenced this pull request May 17, 2023
feat: serialize/deserialize custom coders
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants