You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TST: Fix gbq integration tests. gbq._Dataset.dataset() would not return full results
This PR resolves an issue where `gbq._Dataset.datasets()` would not return
all datasets under a Google BigQuery project.
If `'nextPageToken'` is populated, then another `datasets().list()`
request should be sent with `'pageToken'` set to collect more results.
In the past few days, additional datasets were added under the Google
BigQuery project id used by pandas as part of the following github
project : https://github.com/pydata/pandas-gbq .
The addition of datasets caused many gbq unit tests to fail because in function
`clean_gbq_environment()`, we check to see if the dataset exists using
the incomplete results from `gbq._Dataset.datasets()` before we
attempt to delete it.
Author: Anthonios Partheniou <[email protected]>
Closes#15381 from parthea/fix-broken-gbq-unit-tests and squashes the following commits:
61bc1e7 [Anthonios Partheniou] TST: Fix gbq tests. gbq.dataset()/gbq.tables would not return full results.
0 commit comments