-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
BigQuery Storage Write API wrapper for Python SDK #25685
BigQuery Storage Write API wrapper for Python SDK #25685
Conversation
R: @chamikaramj |
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
Codecov Report
@@ Coverage Diff @@
## master #25685 +/- ##
==========================================
- Coverage 71.43% 71.42% -0.02%
==========================================
Files 779 779
Lines 102530 102629 +99
==========================================
+ Hits 73245 73305 +60
- Misses 27824 27864 +40
+ Partials 1461 1460 -1
... and 14 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thanks!
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
Outdated
Show resolved
Hide resolved
sdks/java/io/google-cloud-platform/expansion-service/build.gradle
Outdated
Show resolved
Hide resolved
...e/beam/sdk/io/gcp/bigquery/providers/BigQueryStorageWriteApiSchemaTransformProviderTest.java
Outdated
Show resolved
Hide resolved
7edafd1
to
4b476ad
Compare
Seems like tests couldn't find the expansion service ? |
Yeah it's only seeing the default value (see debug println) that I set here. The setup task overwrites that value and launches an expansion service as expected, but the python task doesn't read the updated value. I'm not sure how scoping works between these tasks. |
34357d2
to
300dbbf
Compare
R: @chamikaramj Tests are passing now, ready for another review. |
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.
Thanks. Almost there :)
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. Thanks.
.../java/org/apache/beam/sdk/expansion/service/ExpansionServiceSchemaTransformProviderTest.java
Show resolved
Hide resolved
…or a specified expansion service
integrate with WriteToBigQuery use shadowJar move port acquisition closer to expansion service launch
9d3c870
to
52a6c4a
Compare
Run Python_Xlang_Gcp_Direct PostCommit |
Run Python_Xlang_Gcp_Dataflow PostCommit |
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. Thanks.
Implementing a wrapper for Python SDK that uses Java's Storage API SchemaTransform (created in #23988) to write to BigQuery
Some features added and adjusted along the way:
Fixes #21961
Fixes #25669