feat: allow QueryJob.result() to be called on a dryRun query #1012
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Attempting to call
result()
on a dryRun query results in the following exception.This is because the QueryJob tries to fetch query results and/or job state, but there is no job ID in a dry run query response.
IMO, if we know something is a dryRun response,
resullt()
should do nothing.The text was updated successfully, but these errors were encountered: