-
Notifications
You must be signed in to change notification settings - Fork 976
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
Add DLQ support to JdbcToBigQuery using BQ Storage Write API #2016
base: main
Are you sure you want to change the base?
Add DLQ support to JdbcToBigQuery using BQ Storage Write API #2016
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2016 +/- ##
============================================
+ Coverage 45.51% 45.56% +0.05%
- Complexity 3704 4047 +343
============================================
Files 845 847 +2
Lines 50084 50213 +129
Branches 5268 5279 +11
============================================
+ Hits 22794 22879 +85
- Misses 25618 25654 +36
- Partials 1672 1680 +8
|
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
Re-triggered failed workflows (Java PR in particular did not run full IT suite) |
109905d
to
6a04393
Compare
v2/jdbc-to-googlecloud/src/main/java/com/google/cloud/teleport/v2/templates/JdbcToBigQuery.java
Show resolved
Hide resolved
Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: Jeffrey Kinard <[email protected]>
6a04393
to
45ae79e
Compare
This PR adds proper error handling to the JdbcToBigQueryFlex template when using Storage Write API.
Before this change, the WriteToBigQuery step would succeed even when there were write failures. These errors were never captured or handled, thus resulting in dropped rows. This PR will now fail the pipeline on write errors by default when using Storage Write API. If a deadletter table is specified, then errors will instead be written the the DLQ table (created if needed).