René's URL Explorer Experiment


Title: feat: use BigQuery Storage client by default by plamut · Pull Request #55 · googleapis/python-bigquery · GitHub

Open Graph Title: feat: use BigQuery Storage client by default by plamut · Pull Request #55 · googleapis/python-bigquery

X Title: feat: use BigQuery Storage client by default by plamut · Pull Request #55 · googleapis/python-bigquery

Description: Closes #86. Closes #84. No issue yet, just a POC preview. The PR is now ready to be reviewed. It uses the BQ Storage API by default to fetch query results, and removes the "beta" label from that feature. It's probably easier to review this PR commit by commit. Key points: If BQ Storage client cannot be used (e.g. missing dependencies) to fetch query results, the library falls back to the REST API. The BQ storage API v1 stable is now used, replacing v1beta1 client (however, there is a feature request to support both BQ Storage client versions simultaneously). The Python DB API now more closely follows the specs. Closing a connection instance makes it unusable from that point on, and also closes every Cursor instance created by it. Closing a DB API Connection now also closes the BigQuery / BQ Storage clients the latter has created, fixing the sockets leak discovered.

Open Graph Description: Closes #86. Closes #84. No issue yet, just a POC preview. The PR is now ready to be reviewed. It uses the BQ Storage API by default to fetch query results, and removes the "beta" label fr...

X Description: Closes #86. Closes #84. No issue yet, just a POC preview. The PR is now ready to be reviewed. It uses the BQ Storage API by default to fetch query results, and removes the "beta" ...

Opengraph URL: https://github.com/googleapis/python-bigquery/pull/55

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ff2a2d54-c0c7-6747-8928-1077f97f51c5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id87C8:119A4:5C51B5:795D88:6AFE6AE1
html-safe-nonce76600496c8eccdebb24fdf16f892c30f74de60dd941304bece140257aadded3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0M4OjExOUE0OjVDNTFCNTo3OTVEODg6NkFGRTZBRTEiLCJ2aXNpdG9yX2lkIjoiMjIwMTEwMzcwMDg1MDUzNTEzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacacd100a39726fd99e633d4333095c6ac1636cf2b53b9b83349b79dede8fc1eb9
hovercard-subject-tagpull_request:385773607
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/googleapis/python-bigquery/pull/55/files
twitter:imagehttps://avatars.githubusercontent.com/u/1235663?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1235663?s=400&v=4
og:image:altCloses #86. Closes #84. No issue yet, just a POC preview. The PR is now ready to be reviewed. It uses the BQ Storage API by default to fetch query results, and removes the "beta" label fr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992475
octolytics-dimension-repository_nwogoogleapis/python-bigquery
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992475
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigquery
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery/pull/55/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery%2Fpull%2F55%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery%2Fpull%2F55%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=googleapis%2Fpython-bigquery
Reloadhttps://github.com/googleapis/python-bigquery/pull/55/files
Reloadhttps://github.com/googleapis/python-bigquery/pull/55/files
Reloadhttps://github.com/googleapis/python-bigquery/pull/55/files
googleapishttps://github.com/googleapis
python-bigqueryhttps://github.com/googleapis/python-bigquery
Codehttps://github.com/googleapis/python-bigquery
Issueshttps://github.com/googleapis/python-bigquery/issues
Pull requestshttps://github.com/googleapis/python-bigquery/pulls
Actionshttps://github.com/googleapis/python-bigquery/actions
Projectshttps://github.com/googleapis/python-bigquery/projects
Security and qualityhttps://github.com/googleapis/python-bigquery/security
Insightshttps://github.com/googleapis/python-bigquery/insights
plamuthttps://github.com/plamut
googleapis:masterhttps://github.com/googleapis/python-bigquery/tree/master
plamut:optimize-to-dataframehttps://github.com/plamut/python-bigquery/tree/optimize-to-dataframe
Conversation 25 https://github.com/googleapis/python-bigquery/pull/55
Commits 16 https://github.com/googleapis/python-bigquery/pull/55/commits
Checks 0 https://github.com/googleapis/python-bigquery/pull/55/checks
Files changed https://github.com/googleapis/python-bigquery/pull/55/files
Please reload this pagehttps://github.com/googleapis/python-bigquery/pull/55/files
feat: use BigQuery Storage client by default https://github.com/googleapis/python-bigquery/pull/55/files#top
Show all changes 16 commits https://github.com/googleapis/python-bigquery/pull/55/files
d3d8525 feat: use BigQuery Storage client by default plamut Mar 9, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/d3d85258cbb45d1ea8f89d43fe404133737e94c0
6e678ce Use BQ Storage API by default in cell magic plamut Apr 10, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/6e678cedec69f9cb8ad30e6893a938e278c26db9
d544a69 Add raise_on_closed helper decorator to DB API plamut Apr 24, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/d544a6973aa07c9a5dea9daab7b48254e8bc19fe
2cd32d3 Use BigQuery Storage API by default in DB API plamut Apr 26, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/2cd32d3ad595a968443336ac2c6cdf533585a1aa
3b1a52a Use BQ Storage v1 stable version in main client plamut Apr 27, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/3b1a52a99a48b99d29e6730e493a15ffde1adb2e
384b5d6 Use BQ Storage v1 stable in BigQuery cell magic plamut Apr 27, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/384b5d607abb44315a122dab47397d89ed5c6b7c
00bf584 Use BQ Storage v1 stable in DB API plamut Apr 27, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/00bf584a162029ecff93ddaf1c897aa9744481c1
7d7dc73 Merge branch 'master' into optimize-to-dataframe plamut Apr 30, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/7d7dc73dd5bb4937abf93654a59cb6e8692a6fa2
dbef14d Support both v1 stable and beta1 BQ Storage client plamut Apr 30, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/dbef14d0254d2fa057a369d3b79f0b9041d7593d
4abd932 Merge branch 'master' into optimize-to-dataframe plamut May 13, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/4abd932df00b8846685bf67bbfaece6f0135b5d0
530a5db Fix some typos and redundant Beta mark plamut May 13, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/530a5db41238a7cc8f4407407a1dba55658055f0
c6e0133 Use ARROW as data format in DB API cursor plamut May 13, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/c6e01334b9ccc5788ec16d6238a454713ba5e030
6e35d09 feat: add HOUR support for time partitioning interval (#91) shollyman May 14, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/6e35d0905cc5f777cb628754281b31241e9a2552
1c75225 Merge branch 'master' into optimize-to-dataframe plamut May 14, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/1c752252baeb61df0826951476a39648f837a231
bd9b7c8 Merge branch 'master' into optimize-to-dataframe plamut Jun 10, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/bd9b7c8f47d5e4298ef440c92dbe39735238e677
7294605 Bump BQ storage pin to stable version. plamut Jun 10, 2020 https://github.com/googleapis/python-bigquery/pull/55/commits/7294605909995c3062d321015304beb22857a325
Clear filters https://github.com/googleapis/python-bigquery/pull/55/files
Please reload this pagehttps://github.com/googleapis/python-bigquery/pull/55/files
Please reload this pagehttps://github.com/googleapis/python-bigquery/pull/55/files
_pandas_helpers.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
client.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-fc3199dcfb64ea8758d31d37f30dc25c4885b1c21b03812fbc0f1914f48763f3
_helpers.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-2221cd9b6b85f2ed1f943c474e8a8628e6ca28ec9a96c0aa5873cd6a66826bde
connection.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-155e1974178b37bfc03d8aef404bcc8054f2541756f5e54066a98827de683829
cursor.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-79c1fda8bdd58190bf069c524aff8dc055d4551ad9f8cf4a2ecef16e139b4330
job.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-65193791eddf155c4f8fa506031ca7702f8bd10a6e2e11598bae7e781f878907
magics.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-16626d05d10bc9d650ac9da8ace6d55fbbdaaa6398186494346389ac0a9a2c08
table.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-1172a63bba9d23e3a24e43736ef1275452ef2ef2d4a50d054c209bdd2792fdf5
setup.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
system.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-27dacda67afd1f854dee4da7b3055f0e55ab8626e665b779296a8a2881174019
helpers.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-b0ae41ed82bfa04125818e38916312dca3ef3f76b58a5459332c1f9d0b51a9aa
test_client.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-8a93cfa9211c8f1cfcf07190aae5a33542431e9906054bcab28e169d71ad133b
test_dbapi__helpers.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-c968b496528c152df7d1ee681dbe4b3cfc664b80900df40d07f59668e2358e93
test_dbapi_connection.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-918e4c9094d4c04e6fa7cbda1ee18962f281c6f78464651f54cec85bbbad122c
test_dbapi_cursor.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-d20171279dadbd31e2be6205d23adfa5d2af49d0d67d5dd7a0bc8a6504527606
test_job.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-a8fb54f2a17da5da52901881ae348e45e54e2d96dd1924e0e8db89161fc13978
test_magics.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-cc2c31e3f3209f7d5c71a259e1509ed322c6dd1d027e7f4df5026797eade3979
test_table.py https://github.com/googleapis/python-bigquery/pull/55/files#diff-eb45ae88f5bd3e5bd46c57b50b696ea6c20b8623f4a3e861272d009210b92b60
google/cloud/bigquery/_pandas_helpers.pyhttps://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
View file https://github.com/plamut/python-bigquery/blob/7294605909995c3062d321015304beb22857a325/google/cloud/bigquery/_pandas_helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery/pull/55/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
https://github.com/googleapis/python-bigquery/pull/55/files#diff-7b2c585218162242a1b9cc0040bebfdb8d405becd35412cc7097cd4e49ef4c74
google/cloud/bigquery/client.pyhttps://github.com/googleapis/python-bigquery/pull/55/files#diff-fc3199dcfb64ea8758d31d37f30dc25c4885b1c21b03812fbc0f1914f48763f3
View file https://github.com/plamut/python-bigquery/blob/7294605909995c3062d321015304beb22857a325/google/cloud/bigquery/client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery/pull/55/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery/pull/55/files#diff-fc3199dcfb64ea8758d31d37f30dc25c4885b1c21b03812fbc0f1914f48763f3
https://github.com/googleapis/python-bigquery/pull/55/files#diff-fc3199dcfb64ea8758d31d37f30dc25c4885b1c21b03812fbc0f1914f48763f3
google/cloud/bigquery/dbapi/_helpers.pyhttps://github.com/googleapis/python-bigquery/pull/55/files#diff-2221cd9b6b85f2ed1f943c474e8a8628e6ca28ec9a96c0aa5873cd6a66826bde
View file https://github.com/plamut/python-bigquery/blob/7294605909995c3062d321015304beb22857a325/google/cloud/bigquery/dbapi/_helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery/pull/55/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery/pull/55/files#diff-2221cd9b6b85f2ed1f943c474e8a8628e6ca28ec9a96c0aa5873cd6a66826bde
https://github.com/googleapis/python-bigquery/pull/55/files#diff-2221cd9b6b85f2ed1f943c474e8a8628e6ca28ec9a96c0aa5873cd6a66826bde
https://github.com/googleapis/python-bigquery/pull/55/files#diff-2221cd9b6b85f2ed1f943c474e8a8628e6ca28ec9a96c0aa5873cd6a66826bde
google/cloud/bigquery/dbapi/connection.pyhttps://github.com/googleapis/python-bigquery/pull/55/files#diff-155e1974178b37bfc03d8aef404bcc8054f2541756f5e54066a98827de683829
View file https://github.com/plamut/python-bigquery/blob/7294605909995c3062d321015304beb22857a325/google/cloud/bigquery/dbapi/connection.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery/pull/55/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery/pull/55/files#diff-155e1974178b37bfc03d8aef404bcc8054f2541756f5e54066a98827de683829
https://github.com/googleapis/python-bigquery/pull/55/files#diff-155e1974178b37bfc03d8aef404bcc8054f2541756f5e54066a98827de683829
https://github.com/googleapis/python-bigquery/pull/55/files#diff-155e1974178b37bfc03d8aef404bcc8054f2541756f5e54066a98827de683829
Please reload this pagehttps://github.com/googleapis/python-bigquery/pull/55/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.