chakkk309 opened a new pull request, #22694: URL: https://github.com/apache/datafusion/pull/22694
## Which issue does this PR close? Closes #22333. ## Rationale for this change FFI_SchemaProvider did not expose SchemaProvider::table_type, so foreign consumers fell back to table() just to read table types. This PR plumbs table_type through the FFI schema provider and keeps local-bypass behavior intact. ## What changes are included in this PR? - Add a table_type FFI callback to FFI_SchemaProvider. - Implement ForeignSchemaProvider::table_type via the new callback. - Add unit tests for forced-foreign and local-bypass paths. - Add ffi_catalog integration coverage for override and fallback table_type behavior. ## Are these changes tested? - cargo fmt --all --check - cargo test -p datafusion-ffi - cargo test -p datafusion-ffi --features integration-tests --test ffi_catalog - cargo clippy -p datafusion-ffi --all-targets --features integration-tests -- -D warnings -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
