PierreZ opened a new issue #1864:
URL: https://github.com/apache/arrow-datafusion/issues/1864


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   I'm currently playing with DataFusion to see if we can use it as a query 
execution runtime over a custom datasource. I could not find some documentation 
and/or examples on which traits should I be implemented in order to query data 
from a custom datasource.
   
   **Describe the solution you'd like**
   
   An example of a structure implementing the right Traits to fetch data over a 
custom datasource.
   
   **Describe alternatives you've considered**
   
   I really like the DataFrame Trait in the [dataframe.rs 
example](https://github.com/apache/arrow-datafusion/blob/master/datafusion-examples/examples/dataframe.rs),
 but I was wondering if I can implement "lower" Traits.
   
   The other possible example I found is the test in 
[datafusion-streams](https://github.com/datafusion-contrib/datafusion-streams/blob/main/tests/basic_tests.rs),
 which implements `ExecutionPlan`, `TableProvider`, `ExecutionPlan` and others.
   
   **Additional context**
   
   I was thinking about simulating a Redis-like examples with two maps:
   
   * one holding some data, with an integer as a key and a json as a value.
   * the other map will simulate an index on one of the json field.
   
   The example will generate a query that will use the index to retrieve the 
data. What do you think?
   
   Which Traits should I be implemented in the example?


-- 
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]


Reply via email to