-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new scalar statistics properties to 'QueryJob' #3800
Add new scalar statistics properties to 'QueryJob' #3800
Conversation
:returns: total bytes processed by the job, or None if job is not | ||
yet complete. | ||
""" | ||
return self._job_statistics().get('totalBytesProcessed') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
:returns: total bytes processed by the job, or None if job is not | ||
yet complete. | ||
""" | ||
return self._job_statistics().get('totalBytesBilled') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
:returns: number of DML rows affectd by the job, or None if job is not | ||
yet complete. | ||
""" | ||
return self._job_statistics().get('numDmlAffectedRows') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
BQ tests all pass: the failure is in the docs build (now fixed on |
* Add 'QueryJob.total_bytes_processed' property. * Add 'QueryJob.total_bytes_billed' property. * Add 'QueryJob.billing_tier' property. * Add 'QueryJob.cache_hit' property. * Add 'QueryJob.num_dml_affected_rows' property. * Add 'QueryJob.statement_type' property.
* Add 'QueryJob.total_bytes_processed' property. * Add 'QueryJob.total_bytes_billed' property. * Add 'QueryJob.billing_tier' property. * Add 'QueryJob.cache_hit' property. * Add 'QueryJob.num_dml_affected_rows' property. * Add 'QueryJob.statement_type' property.
@tseaver Do you have a planned date this will be released? |
@sschatts There is a fairly intrusive |
@tseaver Thank you for the update. |
* Add 'QueryJob.total_bytes_processed' property. * Add 'QueryJob.total_bytes_billed' property. * Add 'QueryJob.billing_tier' property. * Add 'QueryJob.cache_hit' property. * Add 'QueryJob.num_dml_affected_rows' property. * Add 'QueryJob.statement_type' property.
* Add 'QueryJob.total_bytes_processed' property. * Add 'QueryJob.total_bytes_billed' property. * Add 'QueryJob.billing_tier' property. * Add 'QueryJob.cache_hit' property. * Add 'QueryJob.num_dml_affected_rows' property. * Add 'QueryJob.statement_type' property.
total_bytes_processed
total_bytes_billed
billing_tier
cache_hit
num_dml_affected_rows
statement_type
Uses #3799 as a base.Cherry-picked / fixed up from PR #3721.