Dry run queries should not fail with 404:Not found job #118
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
While using the library to execute a query in dry run mode, I got an error like the following:
google.api_core.exceptions.NotFound: 404 GET https://bigquery.googleapis.com/bigquery/v2/projects/swast-scratch/queries/None?maxResults=0&location=US: Not found: Job swast-scratch:US.None
The code just submits a query in dry-run mode. This is the code I am trying to run:
What I expect as a result is the stats, or an exception if the query is invalid.
The following is the full stack trace:
The text was updated successfully, but these errors were encountered: