-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-117] Validate display data registration in Dataflow Runner #325
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
|
R: @bjchambers |
df8b28d to
9cfa061
Compare
|
@bjchambers is out-of-office, @lukecwik can you take a look? |
|
/cc @tgroh |
| DisplayData displayData = DisplayData.from(write); | ||
|
|
||
| assertThat(displayData, hasDisplayItem("tableId", "fooTable")); | ||
| // BigtableIO adds user-agent to options; assert only on key and not value. |
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.
Your comments are out of sync
|
I've addressed all feedback so far. Please take another look. @tgroh |
| <artifactId>java-sdk-all</artifactId> | ||
| </dependency> | ||
|
|
||
| <dependency> |
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.
I'm surprised this validation required adding dependencies on avro and datastore. Is there a reason these dependencies appeared now but not before?
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.
Previously there was no direct dependency on Avro/Datastore in Dataflow runner. This change adds integration tests which directly reference classes in these packages.
|
LGTM after we confirm the new dependencies and get the build passing. |
|
@bjchambers Travis is green, Jenkins failure looks like a flake. |
d9ac1a6 to
6269b8f
Compare
|
@bjchambers squashed. I don't know why Jenkins is still angry, but this is rebased on top of current HEAD. |
|
Backport: GoogleCloudPlatform/DataflowJavaSDK#230 |
Implement getSplitPointsConsumed() in BigtableIO
Co-authored-by: Craig Labenz <craiglabenz@google.com>
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
The DataflowRunner (like other runners) transforms pipelines during construction and sends only primitive transforms to its service. This PR validates that primitive transforms are correctly registering display data for IO transforms.