We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1161dd commit 955a4cdCopy full SHA for 955a4cd
samples/query_no_cache.py
@@ -26,8 +26,8 @@ def query_no_cache() -> None:
26
FROM `bigquery-public-data.samples.shakespeare`
27
GROUP BY corpus;
28
"""
29
- 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.
30
31
- for row in query_job:
+ for row in results:
32
print(row)
33
# [END bigquery_query_no_cache]
0 commit comments