Request to include filter pushdown support for vtab extensions in Rust bindings.
This would allow things like the postgres extension (C++) to be built in Rust - allowing WHERE clause parameters to be propagated. I have a similar need, and would love to use Rust for this.
I'm happy to contribute this, if project is happy with the idea.
(Later: consider renaming the existing supports_pushdown() to supports_projection_pushdown(). In the C++ API it's named more explicitly to avoid confusion.)
Request to include filter pushdown support for vtab extensions in Rust bindings.
This would allow things like the postgres extension (C++) to be built in Rust - allowing WHERE clause parameters to be propagated. I have a similar need, and would love to use Rust for this.
I'm happy to contribute this, if project is happy with the idea.
Straw-person API proposal
Enabling
(Later: consider renaming the existing
supports_pushdown()
tosupports_projection_pushdown()
. In the C++ API it's named more explicitly to avoid confusion.)Accessing
Data model
This is roughly equivalent to C++ API, but far more concise with Rust's algebraic data-types
Note: There are many many more ExpressionTypes in the C++ API, but those 6 are the most practical. eg. see postgres_scanner usage.