-
Notifications
You must be signed in to change notification settings - Fork 125
fix: to_gbq
allows strings for DATE and floats for NUMERIC, require pandas 0.24+ and db-dtypes
#423
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
9b57878
test: upload DATE column with various dtypes
tswast 907a1d5
add dbdate tests
tswast cf2a5bf
test with db-dtypes only with newer pandas
tswast 1ea8fda
🦉 Updates from OwlBot
gcf-owl-bot[bot] b869a9f
sort by row number
tswast 4d304f5
Merge branch 'issue362-to_gbq-date' of github.com:googleapis/python-b…
tswast b876cc7
Merge branch 'main' into issue362-to_gbq-date
tswast 625df5a
fix: allow strings when writing to DATE and floats when writing to NU…
tswast bd3604e
🦉 Updates from OwlBot
gcf-owl-bot[bot] 19df618
require db-dtypes
tswast e0c0a1f
Merge remote-tracking branch 'upstream/issue421-numeric' into issue42…
tswast ab85d8a
add unit tests for dataframe conversion
tswast a08f90d
fix unit tests
tswast 4426957
🦉 Updates from OwlBot
gcf-owl-bot[bot] 15d7b51
remove 'default' from system tests. redundant with load_parquet
tswast 5ded1e8
Merge branch 'main' into issue421-numeric
tswast 4ddcf9d
🦉 Updates from OwlBot
gcf-owl-bot[bot] 95f051f
correct repeated_col name
tswast f8dddb2
used namedtuple in tests
tswast 7563017
protect against explicit None
tswast 92837e6
update tests since pandas 0.24+ is required
tswast f981705
update conda test pandas version
tswast File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ci/requirements-3.7-0.23.2.conda → ci/requirements-3.7-0.24.2.conda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
codecov | ||
coverage | ||
db-dtypes==0.3.0 | ||
fastavro | ||
flake8 | ||
numpy==1.16.6 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
db-dtypes | ||
pydata-google-auth | ||
google-cloud-bigquery | ||
google-cloud-bigquery-storage | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.