-
Notifications
You must be signed in to change notification settings - Fork 931
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
Revise Datastream to BigQuery IT's #1644
Revise Datastream to BigQuery IT's #1644
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1644 +/- ##
============================================
- Coverage 42.27% 42.26% -0.01%
+ Complexity 3167 3166 -1
============================================
Files 791 791
Lines 46131 46137 +6
Branches 4934 4935 +1
============================================
- Hits 19502 19501 -1
- Misses 25039 25045 +6
- Partials 1590 1591 +1
|
fb7d28d
to
2d025b3
Compare
f85ad56
to
1492a6e
Compare
1492a6e
to
0534495
Compare
0534495
to
6fe0adb
Compare
8ca570b
to
8682555
Compare
ccc500a
to
641eb15
Compare
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.
Overall LGTM, just one minor suggestion
try { | ||
return resourceManager().getRowCount(tableId().getTable()); | ||
} catch (Exception e) { | ||
if (ExceptionUtils.containsMessage(e, "Not found: Table")) { |
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.
It seems kind of odd to handle this exception at this level, especially since there's only one caller who does conditional logic on top anyways. Could we more cleanly just handle this in check
instead?
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.
Are you saying like this?
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.
Yeah, I think that is much cleaner - thanks
641eb15
to
8d422a5
Compare
Signed-off-by: Jeffrey Kinard <jeff@thekinards.com>
8d422a5
to
2507001
Compare
7662362
into
GoogleCloudPlatform:main
No description provided.