Skip to content

Commit ab12f5e

Browse files
authored
fix(ffi): preserve TableProvider DML overrides (apache#23906)
## Which issue does this PR close? Part of apache#22328. ## Rationale for this change `ForeignTableProvider` inherits the default DML methods, so producer overrides are lost across the FFI boundary and writable tables appear read-only. ## What changes are included in this PR? - Forward `delete_from`, `update`, and `truncate` through `FFI_TableProvider`. - Preserve ordered filters and assignments across the boundary. - Move expression-list byte encoding and decoding into reusable `datafusion-proto` helpers. - Cover forced-foreign and dynamic-library paths, including empty filters and malformed update payloads. ## Are these changes tested? - `cargo test -p datafusion-ffi --features integration-tests` - `cargo clippy --all-targets --all-features -- -D warnings` ## Are there any user-facing changes? The FFI ABI changes. Foreign libraries must rebuild against the new DataFusion version.
1 parent 186f96f commit ab12f5e

6 files changed

Lines changed: 666 additions & 109 deletions

File tree

0 commit comments

Comments
 (0)