Skip to content

Commit

Permalink
Reloading BigQuery table in system test before fetching data. (google…
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes authored and landrito committed Aug 21, 2017
1 parent 62db662 commit ac68480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bigquery/tests/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,8 @@ def test_dump_table_w_public_data(self):

dataset = Config.CLIENT.dataset(DATASET_NAME, project=PUBLIC)
table = dataset.table(TABLE_NAME)
# Reload table to get the schema before fetching the rows.
table.reload()
self._fetch_single_page(table)

def test_insert_nested_nested(self):
Expand Down

0 comments on commit ac68480

Please sign in to comment.