Title: Support source scan planning and pushdown for Java table providers · Issue #118 · apache/datafusion-java · GitHub
Open Graph Title: Support source scan planning and pushdown for Java table providers · Issue #118 · apache/datafusion-java
X Title: Support source scan planning and pushdown for Java table providers · Issue #118 · apache/datafusion-java
Description: Problem Java-implemented TableProviders currently expose only a full-schema scan(BufferAllocator). The Rust adapter receives a projection and limit, but does not pass them to Java; Java sources also cannot report DataFusion's Exact/Inexa...
Open Graph Description: Problem Java-implemented TableProviders currently expose only a full-schema scan(BufferAllocator). The Rust adapter receives a projection and limit, but does not pass them to Java; Java sources als...
X Description: Problem Java-implemented TableProviders currently expose only a full-schema scan(BufferAllocator). The Rust adapter receives a projection and limit, but does not pass them to Java; Java sources als...
Opengraph URL: https://github.com/apache/datafusion-java/issues/118
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support source scan planning and pushdown for Java table providers","articleBody":"## Problem\n\nJava-implemented `TableProvider`s currently expose only a full-schema `scan(BufferAllocator)`. The Rust adapter receives a projection and limit, but does not pass them to Java; Java sources also cannot report DataFusion's Exact/Inexact/Unsupported filter-pushdown capabilities. This prevents external Java sources from selecting a selective access path while preserving DataFusion's optimizer semantics.\n\n## Proposed scope\n\nAdd an opt-in scan-planning contract alongside the existing API:\n\n- Immutable scan requests with projection indices (including an empty projection), structured DataFusion expression protos and an optional limit.\n- Per-expression Exact/Inexact/Unsupported capability reporting.\n- A scan plan that returns a fresh allocator-compatible Arrow reader only during physical execution. Planning must not read source data.\n- Source projection with schema validation, while existing providers retain full-schema scans and the adapter's projection fallback.\n\nThe implementation would remain a thin, source-agnostic Java/JNI adapter. No storage SDK, source-specific predicate rules, query-language semantics or DataFusion-core changes are proposed. Tests would use an in-memory selective source to cover exact and inexact filtering, residual filters with LIMIT, projection, independent scans and resource/error handling.\n","author":{"url":"https://github.com/wirybeaver","@type":"Person","name":"wirybeaver"},"datePublished":"2026-10-28T22:30:48Z","url":"https://github.com/apache/datafusion-java/issues/118"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8bc19b66-051c-d695-6795-1945f1e27f1c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 839C:39D550:209B63:2E20DA:6B046812 |
| html-safe-nonce | c0db2fc44e61db1f5f4f98044a9a468863c45b4fe4c40e884a92a6fbd9eb22d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzlDOjM5RDU1MDoyMDlCNjM6MkUyMERBOjZCMDQ2ODEyIiwidmlzaXRvcl9pZCI6IjYyMzAzOTE2NDI4Mzk2MDczMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cc72e2b12cb724796edad0390528a97312b5b01e34802c1cf8be06fbd3c6b1a9 |
| hovercard-subject-tag | issue:6088697555 |
| 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-java/118/issue_layout |
| twitter:image | https://opengraph.githubassets.com/720522a190349d3d4ccec8e3fb9044c43c245fdf10e14325cf90b45e85f2af51/apache/datafusion-java/issues/118 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/720522a190349d3d4ccec8e3fb9044c43c245fdf10e14325cf90b45e85f2af51/apache/datafusion-java/issues/118 |
| og:image:alt | Problem Java-implemented TableProviders currently expose only a full-schema scan(BufferAllocator). The Rust adapter receives a projection and limit, but does not pass them to Java; Java sources als... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wirybeaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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 |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width