-
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
[Managed BigQuery] use file loads with Avro format for better performance #33392
base: master
Are you sure you want to change the base?
Conversation
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
Failing test is not relevant |
assign set of reviewers |
Assigning reviewers. If you would like to opt out of this review, comment R: @damondouglas for label java. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
LGTM. Can we add a unit test so that this doesn't regress ? |
Not sure what you mean by regress? |
I mean to make sure we do not accidentally change the default from Avro back to Json. |
Is that necessary? We're just adjusting the write configuration here. I'll add a comment to warn against changing this, would that be sufficient? |
I think Cham's point is that someone else messing about in the code without knowing the context will not know what can or cannot be changed, and also might just make a mistake. So having a tiny test that makes sure they don't simply undo this change is the idea. |
If we're serious about that risk, we'd be doing this type of test all over the place 😅 I'll add a test anyways to get this PR in |
Up to you. Agree that we don't need such unit tests for all configs but might be useful to have some inexpensive unit tests to guard potentially expensive accidental regressions. |
Thanks, that's fair. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #33392 +/- ##
============================================
+ Coverage 57.38% 58.99% +1.60%
- Complexity 1475 3184 +1709
============================================
Files 973 1139 +166
Lines 154978 175604 +20626
Branches 1076 3367 +2291
============================================
+ Hits 88939 103591 +14652
- Misses 63829 68658 +4829
- Partials 2210 3355 +1145
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
No description provided.