-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @P1ntas 👋 it is great to see you! Here is one example But that relies on parquet In general, the Depending on what your index is doing, you might find https://docs.rs/datafusion/latest/datafusion/physical_optimizer/pruning/struct.PruningPredicate.html helpful too |
Beta Was this translation helpful? Give feedback.
Hi @P1ntas 👋 it is great to see you!
Here is one example
https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/advanced_parquet_index.rs
But that relies on parquet
In general, the
TableProviderinterface gives you everything you would need for using a custom index -- you get the filters and projection and then the provider needs to apply that to the indexDepending on what your index is doing, you might find https://docs.rs/datafusion/latest/datafusion/physical_optimizer/pruning/struct.PruningPredicate.html helpful too