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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to