We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7be88a commit 81563b0Copy full SHA for 81563b0
samples/query_external_gcs_temporary_table.py
@@ -38,8 +38,8 @@ def query_external_gcs_temporary_table() -> None:
38
# Example query to find states starting with 'W'.
39
sql = 'SELECT * FROM `{}` WHERE name LIKE "W%"'.format(table_id)
40
41
- query_job = client.query(sql, job_config=job_config) # Make an API request.
+ results = client.query_and_wait(sql, job_config=job_config) # Make an API request.
42
43
- w_states = list(query_job) # Wait for the job to complete.
+ w_states = list(results) # Wait for the job to complete.
44
print("There are {} states with names starting with W.".format(len(w_states)))
45
# [END bigquery_query_external_gcs_temp]
0 commit comments