Remi Dettai created ARROW-10389:
-----------------------------------
Summary: [Rust][DataFusion] Make the custom source implementation
API more explicit
Key: ARROW-10389
URL: https://issues.apache.org/jira/browse/ARROW-10389
Project: Apache Arrow
Issue Type: Improvement
Components: Rust, Rust - DataFusion
Reporter: Remi Dettai
As you can see in
[ARROW-10368|https://issues.apache.org/jira/browse/ARROW-10368], I had quite a
hard time figuring out that the TableProvider trait could be used to provide
custom source implementations for DataFusion.
I think that adding a {{read_table(provider: Box<dyn TableProvider + Send +
Sync>) -> Result<Arc<dyn DataFrame>>}} method to the ExecutionContext and an
example in the tests and/or in the examples folder would make the API more
explicit.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)