Skip to content
Discussion options

You must be logged in to vote

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 TableProvider interface 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 index

Depending on what your index is doing, you might find https://docs.rs/datafusion/latest/datafusion/physical_optimizer/pruning/struct.PruningPredicate.html helpful too

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jefffrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants