Title: Query performance optimizations · Issue #362 · googleapis/python-bigquery · GitHub
Open Graph Title: Query performance optimizations · Issue #362 · googleapis/python-bigquery
X Title: Query performance optimizations · Issue #362 · googleapis/python-bigquery
Description: This issue tracks the "fast query path" changes for the Python client(s): #363 -- Update QueryJob to use getQueryResults in RowIterator. Project down to avoid fetching schema and other unnecessary job stats in RowIterator. #374 -- Update...
Open Graph Description: This issue tracks the "fast query path" changes for the Python client(s): #363 -- Update QueryJob to use getQueryResults in RowIterator. Project down to avoid fetching schema and other unnecessary ...
X Description: This issue tracks the "fast query path" changes for the Python client(s): #363 -- Update QueryJob to use getQueryResults in RowIterator. Project down to avoid fetching schema and other un...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/362
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Query performance optimizations","articleBody":"This issue tracks the \"fast query path\" changes for the Python client(s):\r\n\r\n- [x] https://github.com/googleapis/python-bigquery/pull/363 -- Update `QueryJob` to use `getQueryResults` in `RowIterator`. Project down to avoid fetching schema and other unnecessary job stats in `RowIterator`.\r\n- [x] https://github.com/googleapis/python-bigquery/pull/374 -- Update `QueryJob` and `RowIterator` to cache the first page of results, which we fetch as part of the logic to wait for the job to finish. Discard the cache if `maxResults` or `startIndex` are set.\r\n- [x] https://github.com/googleapis/python-bigquery/pull/375 -- Update DB-API to avoid direct call to list_rows()\r\n- [x] https://github.com/googleapis/python-bigquery/pull/384 -- Update `to_dataframe` and related methods in RowIterator to not call BQ Storage API if cached results are the only page.\r\n- [ ] Update DB-API to not call BQ Storage API if cached results are the only page.\r\n- [ ] Update Client.query to call jobs.query backend API method for acceptable `job_config`s.\r\n- [ ] (optional?) Avoid call to jobs.get in certain cases, such as `QueryJob.to_dataframe` and `QueryJob.to_arrow`\r\n - Add \"reload\" argument to QueryJob.result() -- default to True.\r\n - Update RowIterator to call get_job to fetch the destination table ID before attempting use of BQ Storage API (if destination table ID isn't available).\r\n","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2020-11-03T20:36:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/362/python-bigquery/issues/362"}
| 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:a363b9b5-a224-9661-cb3c-109b27e93454 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD14:36E597:1294633:190F97D:6A4EF286 |
| html-safe-nonce | 1f9d5e14a943d3d4975dd7c26b388a47b9c6f3c16e20e7c54cfc620dd90ff971 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDE0OjM2RTU5NzoxMjk0NjMzOjE5MEY5N0Q6NkE0RUYyODYiLCJ2aXNpdG9yX2lkIjoiMTk5ODcxMzE3MTI5NzUzMjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1698e4770942b3e5dfcdfa8bd91528f16d1c23e5df65a688edc61d809d37be52 |
| hovercard-subject-tag | issue:735618626 |
| 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/python-bigquery/362/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f21678f6926aae827d7db4c28cb59c12767d45838f4658f6d211eb7972857539/googleapis/python-bigquery/issues/362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f21678f6926aae827d7db4c28cb59c12767d45838f4658f6d211eb7972857539/googleapis/python-bigquery/issues/362 |
| og:image:alt | This issue tracks the "fast query path" changes for the Python client(s): #363 -- Update QueryJob to use getQueryResults in RowIterator. Project down to avoid fetching schema and other unnecessary ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tswast |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| 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 | 00d04d6b867d2f16ab50bebae8ccc56e07c8988b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width