René's URL Explorer Experiment


Title: feat(session): add tableExists and deregisterTable to SessionContext by devoopsman45 · Pull Request #102 · apache/datafusion-java · GitHub

Open Graph Title: feat(session): add tableExists and deregisterTable to SessionContext by devoopsman45 · Pull Request #102 · apache/datafusion-java

X Title: feat(session): add tableExists and deregisterTable to SessionContext by devoopsman45 · Pull Request #102 · apache/datafusion-java

Description: Which issue does this PR close? Closes #101 . Rationale for this change SessionContext can let a caller register tables but there is no way to Check whether a table name is already registered Remove a registered table from the session This makes it tough to write safer code while registering What changes are included in this PR? SessionContext.tableExists(String name) — returns true if a table with that name is registered in the session SessionContext.deregisterTable(String name) — removes a registered table; no-op if the name is not found Both are thin JNI wrappers over DataFusion's existing SessionContext::table_exist and SessionContext::deregister_table on the Rust side. Are these changes tested? Yes. SessionContextTableRegistrationTest covers: tableExists returns false for an unregistered table tableExists returns true after registerCsv deregisterTable removes a registered table deregisterTable is a no-op for an unregistered table Both methods throw IllegalStateException on a closed context --> Are there any user-facing changes? Yes — two new public methods on SessionContext. Additive only, no breaking changes.

Open Graph Description: Which issue does this PR close? Closes #101 . Rationale for this change SessionContext can let a caller register tables but there is no way to Check whether a table name is already registered Rem...

X Description: Which issue does this PR close? Closes #101 . Rationale for this change SessionContext can let a caller register tables but there is no way to Check whether a table name is already registered Rem...

Opengraph URL: https://github.com/apache/datafusion-java/pull/102

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:1563b487-9a43-2967-923d-46950a1a944e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9646:385A78:52D496:74B7B0:6B0474D7
html-safe-nonce5e111c5e78516ec086f11bd9ff1279059ed920924a7522375b7ff7d4fcd62248
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjQ2OjM4NUE3ODo1MkQ0OTY6NzRCN0IwOjZCMDQ3NEQ3IiwidmlzaXRvcl9pZCI6IjY5ODI4Mjg0MzY1OTk2MzMxMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac46d5b49d36d15ef9f6a3b335b5e9e847ff842fd610e066fbc4304749fceea297
hovercard-subject-tagpull_request:3813548279
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/apache/datafusion-java/pull/102/files
twitter:imagehttps://avatars.githubusercontent.com/u/260157457?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/260157457?s=400&v=4
og:image:altWhich issue does this PR close? Closes #101 . Rationale for this change SessionContext can let a caller register tables but there is no way to Check whether a table name is already registered Rem...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id1237105117
octolytics-dimension-repository_nwoapache/datafusion-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1237105117
octolytics-dimension-repository_network_root_nwoapache/datafusion-java
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
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/datafusion-java/pull/102/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F102%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%2Fapache%2Fdatafusion-java%2Fpull%2F102%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=apache%2Fdatafusion-java
Reloadhttps://github.com/apache/datafusion-java/pull/102/files
Reloadhttps://github.com/apache/datafusion-java/pull/102/files
Reloadhttps://github.com/apache/datafusion-java/pull/102/files
apachehttps://github.com/apache
datafusion-javahttps://github.com/apache/datafusion-java
Codehttps://github.com/apache/datafusion-java
Issues10 (10)https://github.com/apache/datafusion-java/issues
Pull requests10 (10)https://github.com/apache/datafusion-java/pulls
Discussionshttps://github.com/apache/datafusion-java/discussions
Actionshttps://github.com/apache/datafusion-java/actions
Security and qualityhttps://github.com/apache/datafusion-java/security
Insightshttps://github.com/apache/datafusion-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose
coderfenderhttps://github.com/coderfender
apache:mainhttps://github.com/apache/datafusion-java/tree/main
devoopsman45:feat/session-table-exists-deregisterhttps://github.com/devoopsman45/datafusion-java/tree/feat/session-table-exists-deregister
Conversation 32 https://github.com/apache/datafusion-java/pull/102
Commits 4 https://github.com/apache/datafusion-java/pull/102/commits
Checks 5 https://github.com/apache/datafusion-java/pull/102/checks
Files changed https://github.com/apache/datafusion-java/pull/102/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
feat(session): add tableExists and deregisterTable to SessionContext https://github.com/apache/datafusion-java/pull/102/files#top
Show all changes 4 commits https://github.com/apache/datafusion-java/pull/102/files
60abe69 feat(session): add tableExists and deregisterTable to SessionContext devoopsman45 Jun 5, 2026 https://github.com/apache/datafusion-java/pull/102/commits/60abe69fd3808310cd160a085b3f703ffc6ad14f
45743e3 Addressing review comments devoopsman45 Jun 6, 2026 https://github.com/apache/datafusion-java/pull/102/commits/45743e352c9a537159d14b5a3a964f3266f35f8f
5407d43 extract checkOpen and unwrap_context helpers devoopsman45 Jun 6, 2026 https://github.com/apache/datafusion-java/pull/102/commits/5407d43d9b1d6a642b5df2b46d55da8b81ad1597
e352c77 rename checkOpen to checkOpenSessionContext devoopsman45 Jun 8, 2026 https://github.com/apache/datafusion-java/pull/102/commits/e352c77cb4ff330daeaa4dbe7f28dfc5736cb689
Clear filters https://github.com/apache/datafusion-java/pull/102/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
SessionContext.java https://github.com/apache/datafusion-java/pull/102/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e
SessionContextTest.java https://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
lib.rs https://github.com/apache/datafusion-java/pull/102/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
core/src/main/java/org/apache/datafusion/SessionContext.javahttps://github.com/apache/datafusion-java/pull/102/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e
View file https://github.com/devoopsman45/datafusion-java/blob/e352c77cb4ff330daeaa4dbe7f28dfc5736cb689/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/102/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/102/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e
coderfenderhttps://github.com/coderfender
Jun 6, 2026https://github.com/apache/datafusion-java/pull/102/files#r3367851732
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
devoopsman45https://github.com/devoopsman45
Jun 6, 2026https://github.com/apache/datafusion-java/pull/102/files#r3368186828
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
coderfenderhttps://github.com/coderfender
Jun 7, 2026https://github.com/apache/datafusion-java/pull/102/files#r3369979433
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
devoopsman45https://github.com/devoopsman45
Jun 8, 2026https://github.com/apache/datafusion-java/pull/102/files#r3370522329
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
coderfenderhttps://github.com/coderfender
Jun 7, 2026https://github.com/apache/datafusion-java/pull/102/files#r3369981116
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
coderfenderhttps://github.com/coderfender
Jun 7, 2026https://github.com/apache/datafusion-java/pull/102/files#r3369982639
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
devoopsman45https://github.com/devoopsman45
Jun 8, 2026https://github.com/apache/datafusion-java/pull/102/files#r3370519300
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
devoopsman45https://github.com/devoopsman45
Jun 8, 2026https://github.com/apache/datafusion-java/pull/102/files#r3370523842
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@coderfenderhttps://github.com/coderfender
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
https://github.com/apache/datafusion-java/pull/102/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e
https://github.com/apache/datafusion-java/pull/102/files#diff-9aa9338a7364e93d5e2e4547564e7eb08e65a70f6d51b6fa896325cd4d87451e
core/src/test/java/org/apache/datafusion/SessionContextTest.javahttps://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
View file https://github.com/devoopsman45/datafusion-java/blob/e352c77cb4ff330daeaa4dbe7f28dfc5736cb689/core/src/test/java/org/apache/datafusion/SessionContextTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/102/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
https://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
https://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
https://github.com/apache/datafusion-java/pull/102/files#diff-3c403a0fbf72e51273e5193f5e189fbcbfe6db0f8073a56ce00f44ffeb39f887
native/src/lib.rshttps://github.com/apache/datafusion-java/pull/102/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
View file https://github.com/devoopsman45/datafusion-java/blob/e352c77cb4ff330daeaa4dbe7f28dfc5736cb689/native/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/102/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/102/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/files
https://github.com/apache/datafusion-java/pull/102/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
Please reload this pagehttps://github.com/apache/datafusion-java/pull/102/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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.