westonpace commented on PR #13582:
URL: https://github.com/apache/datafusion/pull/13582#issuecomment-2529752421
In fact, if you can give some guidance on step 1 then I can commit to
upstreaming a generic solution for the problem (if there's interest). I.e.:
```
pub trait AsyncSchemaProvider {...}
pub fn resolve(schema_provider: Arc<dyn AsyncSchemaProvider>, query: &str)
-> Arc<dyn SchemaProvider> {
// Do step 1 from above
// Use `schema_provider` to load the schemas / tables
// Create a "cached schema provider" from the loaded schemas / tables
}
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]