Skip to content

Commit 6873fcf

Browse files
authored
Merge pull request #3320 from roscoejp/master
Update BQ Query parameter reference
2 parents ec8aa13 + d1accdb commit 6873fcf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bigquery/google/cloud/bigquery/query.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,14 @@ def fetch_data(self, max_results=None, page_token=None, start_index=None,
383383
384384
:type timeout_ms: int
385385
:param timeout_ms:
386-
(Optional) timeout, in milliseconds, to wait for query to complete
386+
(Optional) How long to wait for the query to complete, in
387+
milliseconds, before the request times out and returns. Note that
388+
this is only a timeout for the request, not the query. If the query
389+
takes longer to run than the timeout value, the call returns
390+
without any results and with the 'jobComplete' flag set to false.
391+
You can call GetQueryResults() to wait for the query to complete
392+
and read the results. The default value is 10000 milliseconds (10
393+
seconds).
387394
388395
:type client: :class:`~google.cloud.bigquery.client.Client` or
389396
``NoneType``

0 commit comments

Comments
 (0)