René's URL Explorer Experiment


Title: perf: Avoid requery for some result downsample methods by TrevorBergeron · Pull Request #2219 · googleapis/python-bigquery-dataframes · GitHub

Open Graph Title: perf: Avoid requery for some result downsample methods by TrevorBergeron · Pull Request #2219 · googleapis/python-bigquery-dataframes

X Title: perf: Avoid requery for some result downsample methods by TrevorBergeron · Pull Request #2219 · googleapis/python-bigquery-dataframes

Description: Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea Ensure the tests and linter pass Code coverage does not decrease (if any source code was changed) Appropriate docs were updated (if necessary) Fixes # 🦕

Open Graph Description: Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: Make sure to open an issue as a bug/issue before writing your cod...

X Description: Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: Make sure to open an issue as a bug/issue before writing your cod...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:df831cd3-942e-95e0-d3bc-341e8288459b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECB0:11597D:119B259:1901586:6A4F5EA4
html-safe-nonce18f4bd8e7d14eb65bb51d0b7eea8f9d2965ac5c20205b7c999d147ffb6e1eace
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0IwOjExNTk3RDoxMTlCMjU5OjE5MDE1ODY6NkE0RjVFQTQiLCJ2aXNpdG9yX2lkIjoiNDYxMDgxNzI4NTc2NTk0NzA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf75a485add1637d5640ecc47f41cde7c682bf83083a760cea093ccaea4489cb6
hovercard-subject-tagpull_request:2967945701
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-dataframes/pull/2219/files
twitter:imagehttps://avatars.githubusercontent.com/u/8321681?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8321681?s=400&v=4
og:image:altThank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: Make sure to open an issue as a bug/issue before writing your cod...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/googleapis/python-bigquery-dataframes git https://github.com/googleapis/python-bigquery-dataframes.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id667598363
octolytics-dimension-repository_nwogoogleapis/python-bigquery-dataframes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id667598363
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigquery-dataframes
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-dataframes%2Fpull%2F2219%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-dataframes%2Fpull%2F2219%2Ffiles
Sign up https://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-dataframes
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
googleapis https://github.com/googleapis
python-bigquery-dataframeshttps://github.com/googleapis/python-bigquery-dataframes
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Fork 68 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Star 289 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Code https://github.com/googleapis/python-bigquery-dataframes
Issues 0 https://github.com/googleapis/python-bigquery-dataframes/issues
Pull requests 0 https://github.com/googleapis/python-bigquery-dataframes/pulls
Actions https://github.com/googleapis/python-bigquery-dataframes/actions
Projects https://github.com/googleapis/python-bigquery-dataframes/projects
Security and quality 0 https://github.com/googleapis/python-bigquery-dataframes/security
Insights https://github.com/googleapis/python-bigquery-dataframes/pulse
Code https://github.com/googleapis/python-bigquery-dataframes
Issues https://github.com/googleapis/python-bigquery-dataframes/issues
Pull requests https://github.com/googleapis/python-bigquery-dataframes/pulls
Actions https://github.com/googleapis/python-bigquery-dataframes/actions
Projects https://github.com/googleapis/python-bigquery-dataframes/projects
Security and quality https://github.com/googleapis/python-bigquery-dataframes/security
Insights https://github.com/googleapis/python-bigquery-dataframes/pulse
TrevorBergeronhttps://github.com/TrevorBergeron
mainhttps://github.com/googleapis/python-bigquery-dataframes/tree/main
better_uniform_samplehttps://github.com/googleapis/python-bigquery-dataframes/tree/better_uniform_sample
Conversation 0 https://github.com/googleapis/python-bigquery-dataframes/pull/2219
Commits 9 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits
Checks 16 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/checks
Files changed https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
perf: Avoid requery for some result downsample methods https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#top
Show all changes 9 commits https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
79eb9ac perf: Avoid requery for some result downsample methods TrevorBergeron Oct 31, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/79eb9ac44324013a5388029d82a6b874a789a953
ad261f0 Merge remote-tracking branch 'github/main' into better_uniform_sample TrevorBergeron Nov 11, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/ad261f0ed3c3de3c48331cd9b5a6849c91dca387
227ad25 fix empty table handling TrevorBergeron Nov 11, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/227ad25a8271846c623d852b8519bb4ec15ff926
a318d4f Merge remote-tracking branch 'github/main' into better_uniform_sample TrevorBergeron Nov 13, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/a318d4fed31c8cd95870bed56c134497ec5612fe
1bc6a6c cleanup TrevorBergeron Nov 13, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/1bc6a6cf28f6aabb025cc740d4e42882176761e6
0656401 Merge remote-tracking branch 'github/main' into better_uniform_sample TrevorBergeron Dec 17, 2025 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/06564014c2f7d3444a2e1267426e8b2faa079a40
1377016 Merge branch 'main' into better_uniform_sample TrevorBergeron Jan 13, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/137701684bafed34f4f5e4fc850f06a6b748bd48
a3c6d54 Merge branch 'main' into better_uniform_sample TrevorBergeron Jan 16, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/a3c6d5466b40c75fa4628ee4ea0ae53776698c53
e88fdc4 Merge branch 'main' into better_uniform_sample chelsea-lin Jan 16, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2219/commits/e88fdc41d94ebc464b66bca5f36f3a241488d731
Clear filters https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files
blocks.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-13d5aff058292bc4e73d0101a3ef5be4f9d8dc01beb0a815abad70829bd42a0a
bq_data.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-3e093594fb1611a5ab058e51e5d56cb9e9a2fcf615ba86829d7eb116ca9f7b72
local_data.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
executor.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
test_anywidget.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-e8cc2bfe627c0dea6773e6f05a5cd3a10056aee633c5e1971ad6c4099afa9942
test_dataframe.py https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-22997039a8e0d82416d709e8571f440a10f064c3d461e25e6b4e04afd5066681
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/core/blocks.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-13d5aff058292bc4e73d0101a3ef5be4f9d8dc01beb0a815abad70829bd42a0a
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/bigframes/core/blocks.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-13d5aff058292bc4e73d0101a3ef5be4f9d8dc01beb0a815abad70829bd42a0a
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-13d5aff058292bc4e73d0101a3ef5be4f9d8dc01beb0a815abad70829bd42a0a
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/core/bq_data.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-3e093594fb1611a5ab058e51e5d56cb9e9a2fcf615ba86829d7eb116ca9f7b72
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/bigframes/core/bq_data.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-3e093594fb1611a5ab058e51e5d56cb9e9a2fcf615ba86829d7eb116ca9f7b72
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-3e093594fb1611a5ab058e51e5d56cb9e9a2fcf615ba86829d7eb116ca9f7b72
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/core/local_data.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/bigframes/core/local_data.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-363d6f38b73f0b7e68090a1b946499d25cf1489118b9203fb10a66bb7155b55e
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/session/executor.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/bigframes/session/executor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-912b4166dd6c9bc721b5d44b212a03be150a01898d3c30f060feded7d1518002
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
tests/system/small/test_anywidget.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-e8cc2bfe627c0dea6773e6f05a5cd3a10056aee633c5e1971ad6c4099afa9942
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/tests/system/small/test_anywidget.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-e8cc2bfe627c0dea6773e6f05a5cd3a10056aee633c5e1971ad6c4099afa9942
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-e8cc2bfe627c0dea6773e6f05a5cd3a10056aee633c5e1971ad6c4099afa9942
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
tests/system/small/test_dataframe.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-22997039a8e0d82416d709e8571f440a10f064c3d461e25e6b4e04afd5066681
View file https://github.com/googleapis/python-bigquery-dataframes/blob/e88fdc41d94ebc464b66bca5f36f3a241488d731/tests/system/small/test_dataframe.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-22997039a8e0d82416d709e8571f440a10f064c3d461e25e6b4e04afd5066681
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-22997039a8e0d82416d709e8571f440a10f064c3d461e25e6b4e04afd5066681
https://github.com/googleapis/python-bigquery-dataframes/pull/2219/files#diff-22997039a8e0d82416d709e8571f440a10f064c3d461e25e6b4e04afd5066681
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2219/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.