Title: Provide support for synchronous queries through the v2/projects/{projectId}/queries endpoint · Issue #589 · googleapis/python-bigquery · GitHub
Open Graph Title: Provide support for synchronous queries through the v2/projects/{projectId}/queries endpoint · Issue #589 · googleapis/python-bigquery
X Title: Provide support for synchronous queries through the v2/projects/{projectId}/queries endpoint · Issue #589 · googleapis/python-bigquery
Description: Is your feature request related to a problem? Please describe. We are part of the BI Engine preview so we're trying to minimize the latency between our python application and BigQuery. The current approach of creating an asynchronous job...
Open Graph Description: Is your feature request related to a problem? Please describe. We are part of the BI Engine preview so we're trying to minimize the latency between our python application and BigQuery. The current ...
X Description: Is your feature request related to a problem? Please describe. We are part of the BI Engine preview so we're trying to minimize the latency between our python application and BigQuery. The curr...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/589
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide support for synchronous queries through the v2/projects/{projectId}/queries endpoint","articleBody":" **Is your feature request related to a problem? Please describe.**\r\nWe are part of the BI Engine preview so we're trying to minimize the latency between our python application and BigQuery. The current approach of creating an asynchronous job and then waiting for it to complete adds significant latency and hurts the value proposition of BI Engine.\r\n **Describe the solution you'd like**\r\nWe'd like a way to utilize the `v2/projects/{projectId}/queries` endpoint to execute a query and wait for the response.\r\n **Describe alternatives you've considered**\r\nWe could call the REST API directly. The main drawbacks are 1) authentication with a service account 2) the existing python client does a nice job of creating `Row` objects with the results.\r\nI've also used the following snippet:\r\n```python\r\nbq_client = bigquery.Client(project=project_id)\r\nsynchronous_api_response = bq_client._connection.api_request(\r\n \"POST\", \r\n f\"/projects/{project_id}/queries\",\r\n data={\"query\": query, \"useLegacySql\": False},\r\n)\r\n```\r\n","author":{"url":"https://github.com/kdeggelman","@type":"Person","name":"kdeggelman"},"datePublished":"2021-04-06T16:13:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/589/python-bigquery/issues/589"}
| 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:5f078b07-8d24-b405-5423-a6a12c479bb6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8280:710E:A343A7:EBFE7C:6A4E43EC |
| html-safe-nonce | 5004111ca38fd12a31d3622b7d2590b433ceafd9f8f77a88a6b30b3333167494 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjgwOjcxMEU6QTM0M0E3OkVCRkU3Qzo2QTRFNDNFQyIsInZpc2l0b3JfaWQiOiIyOTIzMjg5Nzg1ODAyODM0OTI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 33ffb9a4dbf41156e9b666b4826a468bf980028aa71e3367a2657d13d6bdc695 |
| hovercard-subject-tag | issue:851582691 |
| 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/589/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0715084570c55d1537e721386ae84f8aa6e44556cd525dd26b1a40b747ac265e/googleapis/python-bigquery/issues/589 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0715084570c55d1537e721386ae84f8aa6e44556cd525dd26b1a40b747ac265e/googleapis/python-bigquery/issues/589 |
| og:image:alt | Is your feature request related to a problem? Please describe. We are part of the BI Engine preview so we're trying to minimize the latency between our python application and BigQuery. The current ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kdeggelman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width