René's URL Explorer Experiment


Title: feat: Add bigframes.execution_history API to track BigQuery jobs by shuoweil · Pull Request #2435 · googleapis/python-bigquery-dataframes · GitHub

Open Graph Title: feat: Add bigframes.execution_history API to track BigQuery jobs by shuoweil · Pull Request #2435 · googleapis/python-bigquery-dataframes

X Title: feat: Add bigframes.execution_history API to track BigQuery jobs by shuoweil · Pull Request #2435 · googleapis/python-bigquery-dataframes

Description: This PR promotes execution_history() to the top-level bigframes namespace and upgrades it to track rich metadata for every BigQuery job executed during your session. Key User Benefits: Easier Access: Call bigframes.execution_history() directly instead of digging into sub-namespaces. Rich Metadata Tracking: Captures structured statistics for both Query Jobs and Load Jobs including: job_id and a direct Google Cloud Console URL for easy debugging. Performance metrics: total_bytes_processed, duration_seconds, and slot_millis. Query details (truncated preview of the SQL ran). Clean, Focused Logs: Automatically filters out internal library overhead (like schema validations and index uniqueness checks) so your history only shows the data processing steps you actually care about. Usage Example: 1 import bigframes.pandas as bpd 2 import pandas as pd 3 import bigframes 4 5 # ... run some bigframes operations ... 6 df = bpd.read_gbq("SELECT 1") 7 8 # Upload some local data (triggers a Load Job) 9 bpd.read_pandas(pd.DataFrame({'a': [1, 2, 3]})) 10 11 # Get a DataFrame of all BQ jobs run in this session 12 history = bigframes.execution_history() 13 14 # Inspect recent queries, their costs, and durations 15 print(history[['job_id', 'job_type', 'total_bytes_processed', 'duration_seconds', 'query']]) verified at: vs code notebook: screen/8u2yhaRV9iHbDbF colab notebook: screen/9L8VrP5y9DXhnZz Fixes #<481840739> 🦕

Open Graph Description: This PR promotes execution_history() to the top-level bigframes namespace and upgrades it to track rich metadata for every BigQuery job executed during your session. Key User Benefits: Easier Acc...

X Description: This PR promotes execution_history() to the top-level bigframes namespace and upgrades it to track rich metadata for every BigQuery job executed during your session. Key User Benefits: Easier Acc...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3a813048-e415-41b5-c013-a89c3b2d62b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B26:5370F:29DD5A:391AF8:6A57C976
html-safe-nonce4880aaed2a858491df5cc903c91cdf0e71dd8f5b14cd58a17c9932c20d7e234a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjI2OjUzNzBGOjI5REQ1QTozOTFBRjg6NkE1N0M5NzYiLCJ2aXNpdG9yX2lkIjoiNzMxNDQyMTA0NzM3MzU4MDY2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac91c6e8d036caac263a03d4625d55aa5f3e9842d44baa95a2ea62d97997058c27
hovercard-subject-tagpull_request:3248645929
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/2435/files
twitter:imagehttps://avatars.githubusercontent.com/u/189301813?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/189301813?s=400&v=4
og:image:altThis PR promotes execution_history() to the top-level bigframes namespace and upgrades it to track rich metadata for every BigQuery job executed during your session. Key User Benefits: Easier Acc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5bf9f84655de1d0e9aa064cd3b2bc9703556c68ae53b94e21b872b7e9f1f7cc1
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
releasef76ee5bea8be15c2aede06f855f5c4c808f6eaf5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/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%2F2435%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%2F2435%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/2435/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/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
shuoweilhttps://github.com/shuoweil
mainhttps://github.com/googleapis/python-bigquery-dataframes/tree/main
shuowei-job-historyhttps://github.com/googleapis/python-bigquery-dataframes/tree/shuowei-job-history
Conversation 9 https://github.com/googleapis/python-bigquery-dataframes/pull/2435
Commits 1 https://github.com/googleapis/python-bigquery-dataframes/pull/2435/commits
Checks 16 https://github.com/googleapis/python-bigquery-dataframes/pull/2435/checks
Files changed https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
feat: Add bigframes.execution_history API to track BigQuery jobs https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#top
Show all changes 1 commit https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
5c5bdde feat: Move execution_history to base namespace and implement job trac… shuoweil Apr 1, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2435/commits/5c5bdde5e8baa0558d305c703c979f193e0ff54e
Clear filters https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
__init__.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
global_session.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
__init__.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
loader.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
metrics.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-7694cf2dc46fbe1465b65f1413a89ed9cce3d2b6e3af7eed37add11ad7cdf5ba
test_pandas.py https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-fd82a349d9af4cef76c8a953566364642ef16cefd058a32ace549490bc683ce8
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/__init__.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/bigframes/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-e16a0a4a7be1e36102ef2063f5ade08d7986f7752543fd383bec7a360fb97ac9
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/core/global_session.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/bigframes/core/global_session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-d5e757af07e4cc5ec1bd064d6ff5bf42d01c0415e12d41f67378d3304ea433dc
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/session/__init__.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/bigframes/session/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-ca8b88da6ee41672b3d377eb32f9b63ab34a24ec18815c144d4667319ceff6f4
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/session/loader.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/bigframes/session/loader.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-33880af37044eccc50d97ab173de184c0a12e2281f102bb017c12995f1998307
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/session/metrics.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-7694cf2dc46fbe1465b65f1413a89ed9cce3d2b6e3af7eed37add11ad7cdf5ba
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/bigframes/session/metrics.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-7694cf2dc46fbe1465b65f1413a89ed9cce3d2b6e3af7eed37add11ad7cdf5ba
TrevorBergeronhttps://github.com/TrevorBergeron
Feb 5, 2026https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#r2770567968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
shuoweilhttps://github.com/shuoweil
Mar 24, 2026https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#r2978417039
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
TrevorBergeronhttps://github.com/TrevorBergeron
Feb 5, 2026https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#r2770578643
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
shuoweilhttps://github.com/shuoweil
Mar 24, 2026https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#r2978417615
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-7694cf2dc46fbe1465b65f1413a89ed9cce3d2b6e3af7eed37add11ad7cdf5ba
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-7694cf2dc46fbe1465b65f1413a89ed9cce3d2b6e3af7eed37add11ad7cdf5ba
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
tests/unit/test_pandas.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-fd82a349d9af4cef76c8a953566364642ef16cefd058a32ace549490bc683ce8
View file https://github.com/googleapis/python-bigquery-dataframes/blob/5c5bdde5e8baa0558d305c703c979f193e0ff54e/tests/unit/test_pandas.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-fd82a349d9af4cef76c8a953566364642ef16cefd058a32ace549490bc683ce8
https://github.com/googleapis/python-bigquery-dataframes/pull/2435/files#diff-fd82a349d9af4cef76c8a953566364642ef16cefd058a32ace549490bc683ce8
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2435/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.