Retrieves the results of a query job.
Arguments
jobId
string
[Required] Job ID of the query job
projectId
string
[Required] Project ID of the query job
location
string
The geographic location where the job should run. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
maxResults
integer ( uint32
format)
Maximum number of results to read
pageToken
string
Page token, returned by a previous call, to request the next page of results
startIndex
string ( uint64
format)
Zero-based index of the starting row
timeoutMs
integer ( uint32
format)
How long to wait for the query to complete, in milliseconds, before returning. Default is 10 seconds. If the timeout passes before the job completes, the 'jobComplete' field in the response will be false
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of GetQueryResultsResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- getQueryResults : call : googleapis.bigquery.v2.jobs.getQueryResults args : jobId : ... projectId : ... location : ... maxResults : ... pageToken : ... startIndex : ... timeoutMs : ... result : getQueryResultsResult
JSON
[ { "getQueryResults" : { "call" : "googleapis.bigquery.v2.jobs.getQueryResults" , "args" : { "jobId" : "..." , "projectId" : "..." , "location" : "..." , "maxResults" : "..." , "pageToken" : "..." , "startIndex" : "..." , "timeoutMs" : "..." }, "result" : "getQueryResultsResult" } } ]

