BigQuery-Python icon indicating copy to clipboard operation
BigQuery-Python copied to clipboard

get statistics of the job

Open MarlonAbeykoon opened this issue 8 years ago • 1 comments

How can I get the properties like totalBytesBilled, endTime etc that comes under statistics? I use the query method in client.py

MarlonAbeykoon avatar Sep 14 '16 11:09 MarlonAbeykoon

You can get job info by job_id.

request = client.bigquery.jobs().get(projectId=project_id, jobId=job_id)
job_resource = request.execute()

hagino3000 avatar Oct 11 '16 10:10 hagino3000