| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:ac7ec044-ad5f-b94a-8c05-0e338bb4a60c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACFA:2D10BB:2C9A4FA:3DF7AD2:6977B3D3 |
| html-safe-nonce | 7bca5f5b72059125d6d2cd7f6100a31be6710a39b8e3a2d77ca954ee05478d5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0ZBOjJEMTBCQjoyQzlBNEZBOjNERjdBRDI6Njk3N0IzRDMiLCJ2aXNpdG9yX2lkIjoiODg4Mjc5MTIyNTIyNDU3MzkwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2f2f2262fac3a8d7aa0f31a6d75935d1ebd92c9053dc433831bab4fa01cbd223 |
| hovercard-subject-tag | pull_request:2849936902 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apache/datafusion-python/1248/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9180bb9460f94292ce6fbe71319f4c63bf12fd64b844cd300428f347bdb4d276/apache/datafusion-python/pull/1248 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9180bb9460f94292ce6fbe71319f4c63bf12fd64b844cd300428f347bdb4d276/apache/datafusion-python/pull/1248 |
| og:image:alt | Which issue does this PR close?
Happy to write a more focussed issue since this is just specific to SessionContext.
Closes #366
Rationale for this change
The issues provides a minimal repro for my ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntjohnson1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 831218810e1b66a41a0626c8c15f7f47625846d9a7516c7f43cfc2c61effad83 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/datafusion-python git https://github.com/apache/datafusion-python.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 515951203 |
| octolytics-dimension-repository_nwo | apache/datafusion-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 515951203 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b37ffa89d073c0d4a6f07ff42d59120741a74955 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/apache/datafusion-python/pull/1248#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-python%2Fpull%2F1248 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fapache%2Fdatafusion-python%2Fpull%2F1248 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apache%2Fdatafusion-python |
| Reload | https://github.com/apache/datafusion-python/pull/1248 |
| Reload | https://github.com/apache/datafusion-python/pull/1248 |
| Reload | https://github.com/apache/datafusion-python/pull/1248 |
|
apache
| https://github.com/apache |
| datafusion-python | https://github.com/apache/datafusion-python |
|
Notifications
| https://github.com/login?return_to=%2Fapache%2Fdatafusion-python |
|
Fork
142
| https://github.com/login?return_to=%2Fapache%2Fdatafusion-python |
|
Star
553
| https://github.com/login?return_to=%2Fapache%2Fdatafusion-python |
|
Code
| https://github.com/apache/datafusion-python |
|
Issues
80
| https://github.com/apache/datafusion-python/issues |
|
Pull requests
27
| https://github.com/apache/datafusion-python/pulls |
|
Actions
| https://github.com/apache/datafusion-python/actions |
|
Security
0
| https://github.com/apache/datafusion-python/security |
|
Insights
| https://github.com/apache/datafusion-python/pulse |
|
Code
| https://github.com/apache/datafusion-python |
|
Issues
| https://github.com/apache/datafusion-python/issues |
|
Pull requests
| https://github.com/apache/datafusion-python/pulls |
|
Actions
| https://github.com/apache/datafusion-python/actions |
|
Security
| https://github.com/apache/datafusion-python/security |
|
Insights
| https://github.com/apache/datafusion-python/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fapache%2Fdatafusion-python%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-python%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/apache/datafusion-python/pull/1248#issue-comment-box |
| timsaucer | https://github.com/timsaucer |
| apache:main | https://github.com/apache/datafusion-python/tree/main |
| rerun-io:nick/threading | https://github.com/rerun-io/datafusion-python/tree/nick/threading |
|
Make Session Context pyclass frozen so interior mutability is only managed by rust
| https://github.com/apache/datafusion-python/pull/1248#top |
| timsaucer | https://github.com/timsaucer |
| apache:main | https://github.com/apache/datafusion-python/tree/main |
| rerun-io:nick/threading | https://github.com/rerun-io/datafusion-python/tree/nick/threading |
|
Conversation
7
| https://github.com/apache/datafusion-python/pull/1248 |
|
Commits
2
| https://github.com/apache/datafusion-python/pull/1248/commits |
|
Checks
16
| https://github.com/apache/datafusion-python/pull/1248/checks |
|
Files changed
| https://github.com/apache/datafusion-python/pull/1248/files |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.co/hiddenchars |
| https://github.com/apache/datafusion-python/pull/{{ revealButtonHref }} |
|
| https://github.com/ntjohnson1 |
| ntjohnson1 | https://github.com/ntjohnson1 |
| Sep 22, 2025 | https://github.com/apache/datafusion-python/pull/1248#issue-3441457650 |
| #366 | https://github.com/apache/datafusion-python/issues/366 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| ntjohnson1 | https://github.com/ntjohnson1 |
| September 22, 2025 10:48 | https://github.com/apache/datafusion-python/pull/1248#commits-pushed-4e2fca0 |
|
| https://github.com/ntjohnson1 |
| Remove unneeded mut self | https://github.com/apache/datafusion-python/pull/1248/commits/4e2fca009822413d709e173f1a9054cb1e21c139 |
| 4e2fca0 | https://github.com/apache/datafusion-python/pull/1248/commits/4e2fca009822413d709e173f1a9054cb1e21c139 |
|
| https://github.com/ntjohnson1 |
| Consider frozen and rely on underlying rust classes to manage mutability | https://github.com/apache/datafusion-python/pull/1248/commits/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
| 7464e8f | https://github.com/apache/datafusion-python/pull/1248/commits/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
| https://github.com/kylebarron |
| kylebarron | https://github.com/kylebarron |
|
Sep 23, 2025
| https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3255717047 |
|
View reviewed changes
| https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
| kylebarron | https://github.com/kylebarron |
| https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3255717047 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/kylebarron |
| kylebarron | https://github.com/kylebarron |
| Sep 23, 2025 | https://github.com/apache/datafusion-python/pull/1248#issuecomment-3322028973 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/ntjohnson1 |
| ntjohnson1 | https://github.com/ntjohnson1 |
| Sep 23, 2025 | https://github.com/apache/datafusion-python/pull/1248#event-19862673080 |
| https://github.com/ntjohnson1 |
| ntjohnson1 | https://github.com/ntjohnson1 |
| Sep 23, 2025 | https://github.com/apache/datafusion-python/pull/1248#issuecomment-3323400431 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/kylebarron |
| kylebarron | https://github.com/kylebarron |
| Sep 23, 2025 | https://github.com/apache/datafusion-python/pull/1248#issuecomment-3324279334 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/kylebarron |
| kylebarron | https://github.com/kylebarron |
|
Sep 23, 2025
| https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3258301575 |
|
View reviewed changes
| https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
| https://github.com/ntjohnson1 |
| ntjohnson1 | https://github.com/ntjohnson1 |
| Sep 23, 2025 | https://github.com/apache/datafusion-python/pull/1248#issuecomment-3324296817 |
| note under the code block | https://pyo3.rs/main/class.html#frozen-classes-opting-out-of-interior-mutability |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/ntjohnson1 |
| ntjohnson1 | https://github.com/ntjohnson1 |
|
Sep 23, 2025
| https://github.com/apache/datafusion-python/pull/1248#ref-issue-3445564540 |
|
Mark pyclasses frozen if possible.
#1250
| https://github.com/apache/datafusion-python/issues/1250 |
| https://github.com/timsaucer |
| timsaucer | https://github.com/timsaucer |
|
Sep 24, 2025
| https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3262732157 |
|
View reviewed changes
| https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
| timsaucer | https://github.com/timsaucer |
| https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3262732157 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/timsaucer |
| timsaucer | https://github.com/timsaucer |
| f08d5b0 | https://github.com/apache/datafusion-python/commit/f08d5b04c9ae6988e436896b061696d419d9c6d0 |
| Sep 24, 2025 | https://github.com/apache/datafusion-python/pull/1248#event-19891800333 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
| https://github.com/timsaucer |
| timsaucer | https://github.com/timsaucer |
| Sep 24, 2025 | https://github.com/apache/datafusion-python/pull/1248#issuecomment-3328250545 |
| @ntjohnson1 | https://github.com/ntjohnson1 |
| @kylebarron | https://github.com/kylebarron |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
|
Rerun PRs
rerun-io/opensource#2
| https://github.com/rerun-io/opensource/issues/2 |
|
Make most pyclasses frozen
#1252
| https://github.com/apache/datafusion-python/pull/1252 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-python%2Fpull%2F1248 |
|
| https://github.com/timsaucer |
|
timsaucer
| https://github.com/timsaucer |
|
| https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
|
| https://github.com/kylebarron |
|
kylebarron
| https://github.com/kylebarron |
|
| https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4 |
|
Already Borrowed Error When using SessionContext from Multiple Threads
| https://github.com/apache/datafusion-python/issues/366 |
| Please reload this page | https://github.com/apache/datafusion-python/pull/1248 |
|
| https://github.com/ntjohnson1 |
|
| https://github.com/kylebarron |
|
| https://github.com/timsaucer |
|
| 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 |