-
Notifications
You must be signed in to change notification settings - Fork 213
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
feat: optionally wrap INT64 in BigQueryInt or provide a custom INT64 value type cast options #873
Conversation
Codecov Report
@@ Coverage Diff @@
## master #873 +/- ##
==========================================
+ Coverage 98.60% 98.65% +0.04%
==========================================
Files 9 9
Lines 6719 6967 +248
Branches 422 463 +41
==========================================
+ Hits 6625 6873 +248
Misses 94 94
Continue to review full report at Codecov.
|
Co-authored-by: Stephen <[email protected]>
Co-authored-by: Stephen <[email protected]>
@steffnay What is the part that is a breaking change? It looks like an upgrade wouldn't break anything for a user, but let me know if I missed it. |
@stephenplusplus it's not breaking, updated the PR title. |
Adds ability to wrap 'INT64' values in a BigQueryInt type.
Add BigQueryInt class
Allow user to pass a custom typeCastFunction to be used to convert integer values
Give user option to specify schema fields to be converted by typeCastFunction
Ensure the tests and linter pass
Code coverage does not decrease (if any source code was changed)
Appropriate docs were updated (if necessary)
Fixes #6 🦕