nevi-me commented on issue #2644: URL: https://github.com/apache/arrow-datafusion/issues/2644#issuecomment-1142467001
I have a commit which makes `provider_as_source` part of `TableProvider` [https://github.com/apache/arrow-datafusion/commit/7b73e0d3d3f587cbba10b6e9e5e07472741bf84a] ```rust trait TableProvider { fn as_source(self: Arc<Self>) -> Arc<dyn TableSource>; } ``` This would solve one half of my problem, as I could create a `SqlTableSource` that also has the connection details that I need. The part that's not straightforward is the corresponding `TableSource::as_provider()`, as it creates a circular dependency between the crates. -- 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]
