-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Contact Details
glen.decauwsemaecker@otainsight.com
What happened?
https://github.com/OTA-Insight/bqwriter/blob/8cb7bcd2f88826def3daafa154b590dc23c3cd4a/internal/bigquery/storage/client.go#L144 can retrun (nil, nil) which smells like an anti-pattern to me? For now we capture this case by returning a new error in an unreleased patch ourselves:
Weird thing is that this only appears in a new service written by a new joiner while existing services using bqwriter have never seen such a crash (because the library would crash if you give a nil result to that ch, given it does not expect that).
We need to investigate if this is because of a mistake on our end or just something that needs to be documented or something that might need to be fixed or is already fixed on bigquery's side.
Version
0.7.0 (Latest)
What platform are you seeing the problem on?
MacOS, Linux
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct