fix: avoid 403 from to_gbq when table has policyTags#356
fix: avoid 403 from to_gbq when table has policyTags#356tswast merged 3 commits intogoogleapis:masterfrom
Conversation
| @@ -0,0 +1,95 @@ | |||
| """Module for checking dependency versions and supported features.""" | |||
There was a problem hiding this comment.
I pulled this out of gbq.py, because load.py also needs some of this logic now.
| yield remaining_rows | ||
| client.load_table_from_file( | ||
| chunk_buffer, | ||
| if FEATURES.bigquery_has_from_dataframe_with_csv: |
There was a problem hiding this comment.
Not strictly necessary (just the "omit policyTags" logic was), but I thought this might be a good opportunity to use more logic from google-cloud-bigquery, per #339
The CSV encoding in google-cloud-bigquery is still relatively new, so I didn't want to bump our minimum google-cloud-bigquery versions yet. Discussion: https://github.com/pydata/pandas-gbq/issues/357
|
conda-3.7 test failures: The |
Follow-up to googleapis/python-bigquery#557
nox -s blacken lintdocs/source/changelog.rstentry