8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef89f9e commit dbf10deCopy full SHA for dbf10de
samples/query_to_arrow.py
@@ -44,8 +44,8 @@ def query_to_arrow() -> "pyarrow.Table":
44
FROM races r
45
CROSS JOIN UNNEST(r.participants) as participant;
46
"""
47
- query_job = client.query(sql)
48
- arrow_table = query_job.to_arrow() # Make an API request.
+ results = client.query_and_wait(sql)
+ arrow_table = results.to_arrow() # Make an API request.
49
50
print(
51
"Downloaded {} rows, {} columns.".format(
0 commit comments