-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-8335] Update StreamingCache with new Protos #10856
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
Conversation
Change-Id: Id7afe89f21221e7fa98ef9066805549493005bc9
|
R: @davidyan74 |
|
retest this please |
|
Looks like you need to run yapf? https://cwiki.apache.org/confluence/display/BEAM/Python+Tips |
Change-Id: I8c92ab9bc98e1885a29f756ea8021c7fd2f3ee8a
|
retest this please |
1 similar comment
|
retest this please |
lukecwik
left a comment
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.
LGTM, assuming tests pass
Thanks for the quick turnaround.
| if record.HasField('processing_time_event'): | ||
| self._stream_times[tag] += timestamp.Duration( | ||
| micros=record.processing_time_event.advance_duration) | ||
| records.append((tag, record, self._stream_times[tag])) |
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.
this would be much more readable if we used typing.NamedTuple
|
retest this please |
|
For the failing pre-commit, I filed:
|
|
Since this is a known break to python. Will merge now and please perform any clean-up in a follow-up PR. |
This fixes the breakage from #10826.
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-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.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.