Closed magnalite closed 1 year ago
If you use Client.Query(...) for a query which can take a while (>~10 seconds), BigQuery will respond with:
Client.Query(...)
{ "kind": "bigquery#queryResponse", "jobReference": { "projectId": "...", "jobId": "...", "location": "US" }, "jobComplete": false }
Currently it is expected this is a google_cloud_bigquery::http::job::query::QueryResponse but it fails to parse due to not containing every field expected and there is also no retry logic to recheck and await job completion.
google_cloud_bigquery::http::job::query::QueryResponse
Thank you for your report. I will fix it soon.
I have fixed and published as v0.1.1. Please try it.
This appears to work for me now! Thanks for fixing this so fast! Your gcp libraries are awesome.
If you use
Client.Query(...)
for a query which can take a while (>~10 seconds), BigQuery will respond with:Currently it is expected this is a
google_cloud_bigquery::http::job::query::QueryResponse
but it fails to parse due to not containing every field expected and there is also no retry logic to recheck and await job completion.