Title: BigQuery: document proper use of run_async_query/QueryJob/QueryResult · Issue #4153 · googleapis/google-cloud-python · GitHub
Open Graph Title: BigQuery: document proper use of run_async_query/QueryJob/QueryResult · Issue #4153 · googleapis/google-cloud-python
X Title: BigQuery: document proper use of run_async_query/QueryJob/QueryResult · Issue #4153 · googleapis/google-cloud-python
Description: If I run an async query using run_async_query(), get a QueryJob from it and a QueryResult from that by calling job.query_results(), the rows attribute of QR is empty. It seems that when the GET request is sent a parameter maxResults=0 is...
Open Graph Description: If I run an async query using run_async_query(), get a QueryJob from it and a QueryResult from that by calling job.query_results(), the rows attribute of QR is empty. It seems that when the GET req...
X Description: If I run an async query using run_async_query(), get a QueryJob from it and a QueryResult from that by calling job.query_results(), the rows attribute of QR is empty. It seems that when the GET req...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/4153
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigQuery: document proper use of run_async_query/QueryJob/QueryResult","articleBody":"If I run an async query using `run_async_query()`, get a `QueryJob` from it and a `QueryResult` from that by calling `job.query_results()`, the `rows` attribute of QR is empty. It seems that when the `GET` request is sent a parameter `maxResults=0` is automatically added, in the client code, which explains why rows is empty.\r\n\r\nBut this is confusing and not how it behaves for sync queries. I think it should allow getting some rows in that first `GET` request.\r\n\r\nCan you please document the proper use of async queries and QueryResult? Thank you.","author":{"url":"https://github.com/bits01","@type":"Person","name":"bits01"},"datePublished":"2017-10-11T03:04:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/4153/google-cloud-python/issues/4153"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:424d7d0c-b3b5-2dec-869a-0c0359242628 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A552:14FBB8:7B5B33:A874D5:6A4DB309 |
| html-safe-nonce | 978bfb4b7390134b2ddd99d937a9811bcd2238d16c9e830d3ec7206e708befb0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTUyOjE0RkJCODo3QjVCMzM6QTg3NEQ1OjZBNERCMzA5IiwidmlzaXRvcl9pZCI6IjYzMTQ4NTA0OTk2NjYyMjc5NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a1665dbe3839681deb97d4d7ebc2d0391f95b33c6a809302c308d7bf5f79609 |
| hovercard-subject-tag | issue:264442408 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/4153/issue_layout |
| twitter:image | https://opengraph.githubassets.com/770a6d52e4790604d44a7a4161958a40e07aacdfcf735966dfc09b0bbd25ff7b/googleapis/google-cloud-python/issues/4153 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/770a6d52e4790604d44a7a4161958a40e07aacdfcf735966dfc09b0bbd25ff7b/googleapis/google-cloud-python/issues/4153 |
| og:image:alt | If I run an async query using run_async_query(), get a QueryJob from it and a QueryResult from that by calling job.query_results(), the rows attribute of QR is empty. It seems that when the GET req... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bits01 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width