The aim is to be able to dry run the queries to check how much it would cost us before we actually proceed with it. Hopefully we will be able to use it as a safety mechanism.
I hope I am not misunderstanding the availability of the dry_run parameter as listed on the docs. I have set it, and it appears on the configs, but it runs anyway.
-
Ubuntu 14.04
-
Python 2.7.6
-
google-cloud-python version
google-api-python-client==1.5.5
google-auth==0.5.0
google-auth-httplib2==0.0.2
google-cloud-bigquery==0.22.0
google-cloud-core==0.22.1
google-cloud-storage==0.22.0
googleapis-common-protos==1.5.0
-
Stacktrace if available
NIL
-
Steps to reproduce
- create job with run_async_query()
- set job.dry_run = True
- run it with job.begin()
- examine job when it is done
- Code example
job = client.run_async_query(JOB_NAME, QUERY_STRING)
job.dry_run = True
job.begin()
print job.__dict__