Title: Support for automatic replacement scans · Issue #1244 · apache/datafusion-python · GitHub
Open Graph Title: Support for automatic replacement scans · Issue #1244 · apache/datafusion-python
X Title: Support for automatic replacement scans · Issue #1244 · apache/datafusion-python
Description: Is your feature request related to a problem or challenge? Please describe what you are trying to do. DuckDB has a replacement scan feature in the Python API that allows it to directly access Python variables that are Arrow-based. This w...
Open Graph Description: Is your feature request related to a problem or challenge? Please describe what you are trying to do. DuckDB has a replacement scan feature in the Python API that allows it to directly access Pytho...
X Description: Is your feature request related to a problem or challenge? Please describe what you are trying to do. DuckDB has a replacement scan feature in the Python API that allows it to directly access Pytho...
Opengraph URL: https://github.com/apache/datafusion-python/issues/1244
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for automatic replacement scans","articleBody":"**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**\n\nDuckDB has a replacement scan feature in the Python API that allows it to [directly access Python variables that are Arrow-based](https://duckdb.org/docs/stable/clients/python/data_ingestion#directly-accessing-dataframes-and-arrow-objects). \n\nThis would mean that you wouldn't necessarily need to perform a `register_dataframe` step in advance; you could just query a variable directly. This would also be temporary; it wouldn't persist the dataframe as a registered object in the session.\n\n**Describe the solution you'd like**\n\nIf a table name is not found among the registered\n\nIs there some way to implement an order of operations for finding tables with a certain name? I.e. inject some code so that if a table `x` isn't found already-registered, then it can evaluate whether the Python variable `x` is Arrow-like?\n\n**Describe alternatives you've considered**\nA clear and concise description of any alternative solutions or features you've considered.\n\n**Additional context**\n\nI could implement the Python side of this, but I don't know the DataFusion API well enough to know where to find the hooks or how to connect to them.","author":{"url":"https://github.com/kylebarron","@type":"Person","name":"kylebarron"},"datePublished":"2025-09-18T16:42:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1244/datafusion-python/issues/1244"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba418367-69ab-1ad3-54fe-bfe0d6bf706b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2BA:331CB5:19CB61A:21AA4F4:6976F5A3 |
| html-safe-nonce | 2d07a9b126803aea13cff4b4b5981d96081842a1ed664a05341be9b40d4f25c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkJBOjMzMUNCNToxOUNCNjFBOjIxQUE0RjQ6Njk3NkY1QTMiLCJ2aXNpdG9yX2lkIjoiMjA3NzE5NDQyMTM2MTAyMzA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b43e6c5be13be6a7a839d7865597e8ed110ad02f05def704cd45597063ad81fa |
| hovercard-subject-tag | issue:3431164725 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/datafusion-python/1244/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79a9f6b4d60a28649c1ec80770908c2f6d4d7909201c3255cd7a872a0bf35067/apache/datafusion-python/issues/1244 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79a9f6b4d60a28649c1ec80770908c2f6d4d7909201c3255cd7a872a0bf35067/apache/datafusion-python/issues/1244 |
| og:image:alt | Is your feature request related to a problem or challenge? Please describe what you are trying to do. DuckDB has a replacement scan feature in the Python API that allows it to directly access Pytho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kylebarron |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width