Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10389

[Rust][DataFusion] Make the custom source implementation API more explicit

Details

    Description

      As you can see in 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.

      Attachments

        Issue Links

          Activity

            People

              rdettai Rémi Dettai
              rdettai Rémi Dettai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m

                  Slack

                    Issue deployment