Title: Allow enabling/disabling the storage API on a per-connection basis · Issue #1920 · googleapis/python-bigquery · GitHub
Open Graph Title: Allow enabling/disabling the storage API on a per-connection basis · Issue #1920 · googleapis/python-bigquery
X Title: Allow enabling/disabling the storage API on a per-connection basis · Issue #1920 · googleapis/python-bigquery
Description: In #16, support was added for the BigQuery storage API in the form of a bqstorage_client which is passed to or created by connect(). Yet there is no way, other than installing or uninstalling the storage API itself, to toggle whether the...
Open Graph Description: In #16, support was added for the BigQuery storage API in the form of a bqstorage_client which is passed to or created by connect(). Yet there is no way, other than installing or uninstalling the s...
X Description: In #16, support was added for the BigQuery storage API in the form of a bqstorage_client which is passed to or created by connect(). Yet there is no way, other than installing or uninstalling the s...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/1920
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow enabling/disabling the storage API on a per-connection basis","articleBody":"In #16, support was added for the BigQuery storage API in the form of a `bqstorage_client` which is passed to or created by [`connect()`](https://github.com/googleapis/python-bigquery/blob/b739596f37b8c00b375cc811c316b618097d761a/google/cloud/bigquery/dbapi/connection.py#L98). Yet there is no way, other than installing or uninstalling the storage API itself, to toggle whether the storage API is enabled/disabled.\r\n\r\nSince use of the storage API does affect [pricing](https://cloud.google.com/bigquery/pricing), it would be preferable to enable or disable on a per-connection basis, perhaps as a `use_storage_api: bool` parameter on `connect()`. This way, callers could choose at will whether to use the storage API without having to change the Python environment the code is running in.\r\n\r\nAs a hack to workaround this issue, I attempted calling `connect` passing a normal `Client` object rather than a `BigQueryReadClient` in the `bqstorage_client` parameter, but this does not create a functioning usable connection.","author":{"url":"https://github.com/galloviolet","@type":"Person","name":"galloviolet"},"datePublished":"2024-05-15T19:46:54Z","url":"https://github.com/googleapis/python-bigquery/issues/1920"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e83d8b4b-b6a2-f9ae-a612-9bfb61c2fe6b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0FE:38A3B1:9D8C:D55F:6AFE1F52 |
| html-safe-nonce | a212e9bc07004314e3d05f1eb0edc59406feae048126eeb586d79fd65e888387 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEZFOjM4QTNCMTo5RDhDOkQ1NUY6NkFGRTFGNTIiLCJ2aXNpdG9yX2lkIjoiMzg3MzI4NzYxMDUzNzIyMTk3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 865399fff9d1a22a0d942cfff08b8475e881acf3dcbe595278d654d612a008a9 |
| hovercard-subject-tag | issue:2298718320 |
| 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/1920/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fd2f2b57f83d093f069c03959cd8a4d30f54b12d488235ca75df2cf4482e0e5/googleapis/python-bigquery/issues/1920 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fd2f2b57f83d093f069c03959cd8a4d30f54b12d488235ca75df2cf4482e0e5/googleapis/python-bigquery/issues/1920 |
| og:image:alt | In #16, support was added for the BigQuery storage API in the form of a bqstorage_client which is passed to or created by connect(). Yet there is no way, other than installing or uninstalling the s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | galloviolet |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| 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 | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width