| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8548030d-1bb4-1248-c164-d6dcb0b2de41 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B946:30B496:259517:356094:6B046A3F |
| html-safe-nonce | 4b2f5f52a00867ba8c106299a269f1d8bdf04ce0db0f99315c929eb56c808884 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTQ2OjMwQjQ5NjoyNTk1MTc6MzU2MDk0OjZCMDQ2QTNGIiwidmlzaXRvcl9pZCI6IjI1ODc0NTEwOTczNDYyMzkwMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 80057fd6648c8760f9a248081e0fe1ab6662831e210d2f0eb1161ccaeac0cab3 |
| hovercard-subject-tag | pull_request:3722504141 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/85/files |
| twitter:image | https://avatars.githubusercontent.com/u/1853780?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1853780?s=400&v=4 |
| og:image:alt | Which issue does this PR close?
Closes #82 .
Rationale for this change
Multi-tenant DataFusion deployments need two operational signals that the Java binding currently does not expose:
Per-sess... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/apache/datafusion-java/pull/85/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F85%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F85%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=apache%2Fdatafusion-java |
| Reload | https://github.com/apache/datafusion-java/pull/85/files |
| Reload | https://github.com/apache/datafusion-java/pull/85/files |
| Reload | https://github.com/apache/datafusion-java/pull/85/files |
| apache | https://github.com/apache |
| datafusion-java | https://github.com/apache/datafusion-java |
| Code | https://github.com/apache/datafusion-java |
| Issues10 (10) | https://github.com/apache/datafusion-java/issues |
| Pull requests10 (10) | https://github.com/apache/datafusion-java/pulls |
| Discussions | https://github.com/apache/datafusion-java/discussions |
| Actions | https://github.com/apache/datafusion-java/actions |
| Security and quality | https://github.com/apache/datafusion-java/security |
| Insights | https://github.com/apache/datafusion-java/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose |
| andygrove | https://github.com/andygrove |
| apache:main | https://github.com/apache/datafusion-java/tree/main |
| LantaoJin:feat/query-memory-runtime-metrics | https://github.com/LantaoJin/datafusion-java/tree/feat/query-memory-runtime-metrics |
|
Conversation
0
| https://github.com/apache/datafusion-java/pull/85 |
|
Commits
1
| https://github.com/apache/datafusion-java/pull/85/commits |
|
Checks
1
| https://github.com/apache/datafusion-java/pull/85/checks |
|
Files changed
| https://github.com/apache/datafusion-java/pull/85/files |
| Please reload this page | https://github.com/apache/datafusion-java/pull/85/files |
|
feat(metrics): add SessionContext.memoryUsage and runtimeStats
| https://github.com/apache/datafusion-java/pull/85/files#top |
|
Show all changes
1 commit
| https://github.com/apache/datafusion-java/pull/85/files |
|
3247739
feat(metrics): add SessionContext.memoryUsage and runtimeStats
LantaoJin May 21, 2026
| https://github.com/apache/datafusion-java/pull/85/commits/3247739c0643ca25d9651ff8060fc8af2b2f3e3f |
|
Clear filters
| https://github.com/apache/datafusion-java/pull/85/files |
| Please reload this page | https://github.com/apache/datafusion-java/pull/85/files |
| Please reload this page | https://github.com/apache/datafusion-java/pull/85/files |
|
Makefile
| https://github.com/apache/datafusion-java/pull/85/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
MemoryUsage.java
| https://github.com/apache/datafusion-java/pull/85/files#diff-b7fb757abe5b1230d73d07b226797d4f4a54604df9c494ef557179d5c6f6d4c4 |
|
RuntimeStats.java
| https://github.com/apache/datafusion-java/pull/85/files#diff-b498c45f315d364a243573e38f829ba7dd9afa7c8aa11ea09d8f48af063ccf80 |
|
SessionContext.java
| https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
|
SessionContextMemoryUsageTest.java
| https://github.com/apache/datafusion-java/pull/85/files#diff-b41fec45c8b2cafa63a4e70e9635e45aa315a7fd7fb5d325d4bc6dc102cf2a7f |
|
SessionContextRuntimeStatsTest.java
| https://github.com/apache/datafusion-java/pull/85/files#diff-813e08fd0b36e96344e031eec4f06f97b5e566ab1210502de91b777caf153367 |
|
Cargo.lock
| https://github.com/apache/datafusion-java/pull/85/files#diff-078f375cfc74d2a2bae74160d7469389a54227046a6daec4edb0481597ec2aa8 |
|
Cargo.toml
| https://github.com/apache/datafusion-java/pull/85/files#diff-a1571d177cbc44d96f49c8f29b6340febcee141a0e26833931bcd78c5441fb55 |
|
lib.rs
| https://github.com/apache/datafusion-java/pull/85/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e |
|
memory.rs
| https://github.com/apache/datafusion-java/pull/85/files#diff-8b0d888a9cf17534986722db8f42f08ce3fa17917e7a85454bc807930491340b |
|
runtime_metrics.rs
| https://github.com/apache/datafusion-java/pull/85/files#diff-6a27c5669be645f89a5d03ecc10dd5c0f6bcbecdf8b2a26d2636911d85e2832a |
| Makefile | https://github.com/apache/datafusion-java/pull/85/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
View file
| https://github.com/LantaoJin/datafusion-java/blob/3247739c0643ca25d9651ff8060fc8af2b2f3e3f/Makefile |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/apache/datafusion-java/pull/85/{{ revealButtonHref }} |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
| core/src/main/java/org/apache/datafusion/MemoryUsage.java | https://github.com/apache/datafusion-java/pull/85/files#diff-b7fb757abe5b1230d73d07b226797d4f4a54604df9c494ef557179d5c6f6d4c4 |
|
View file
| https://github.com/LantaoJin/datafusion-java/blob/3247739c0643ca25d9651ff8060fc8af2b2f3e3f/core/src/main/java/org/apache/datafusion/MemoryUsage.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/apache/datafusion-java/pull/85/{{ revealButtonHref }} |
| core/src/main/java/org/apache/datafusion/RuntimeStats.java | https://github.com/apache/datafusion-java/pull/85/files#diff-b498c45f315d364a243573e38f829ba7dd9afa7c8aa11ea09d8f48af063ccf80 |
|
View file
| https://github.com/LantaoJin/datafusion-java/blob/3247739c0643ca25d9651ff8060fc8af2b2f3e3f/core/src/main/java/org/apache/datafusion/RuntimeStats.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/apache/datafusion-java/pull/85/{{ revealButtonHref }} |
| core/src/main/java/org/apache/datafusion/SessionContext.java | https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
|
View file
| https://github.com/LantaoJin/datafusion-java/blob/3247739c0643ca25d9651ff8060fc8af2b2f3e3f/core/src/main/java/org/apache/datafusion/SessionContext.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/apache/datafusion-java/pull/85/{{ revealButtonHref }} |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
|
| https://github.com/apache/datafusion-java/pull/85/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e |
| Please reload this page | https://github.com/apache/datafusion-java/pull/85/files |
| Please reload this page | https://github.com/apache/datafusion-java/pull/85/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |