8000 Reloading BigQuery table in system test before fetching data. (#3468) · googleapis/google-cloud-python@38bdb44 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 38bdb44

Browse files
dhermesJon Wayne Parrott
authored andcommitted
Reloading BigQuery table in system test before fetching data. (#3468)
e.g. https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/2065 Error introduced in #3426.
1 parent 72e6e52 commit 38bdb44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bigquery/tests/system.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@ def test_dump_table_w_public_data(self):
826826

827827
dataset = Config.CLIENT.dataset(DATASET_NAME, project=PUBLIC)
828828
table = dataset.table(TABLE_NAME)
829+
# Reload table to get the schema before fetching the rows.
830+
table.reload()
829831
self._fetch_single_page(table)
830832

831833
def test_insert_nested_nested(self):

0 commit comments

Comments
 (0)
0