alamb commented on issue #8805: URL: https://github.com/apache/arrow-datafusion/issues/8805#issuecomment-1883711076
Thank you for the report. The way DataFusion itself handles this case is to do a pass over the parsed AST to find referenced tabes, fetching those tables in an outer function that is `async` and then creates a CatalogProvider that is not async https://github.com/apache/arrow-datafusion/blob/72cfc809aec6e4f78c0b1fe080d401ff65b425a7/datafusion/core/src/execution/context/mod.rs#L1669-L1688 I agree this is confusing and it would be great for us to make this clearer in the documentation, or maybe make it easier to find / understand `SessionContextProvider` -- 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]
