alamb commented on issue #10782: URL: https://github.com/apache/datafusion/issues/10782#issuecomment-2150136820
> I agree with this direction. But now this seems hard to achieve because SchemaProvider depends on TableProvider and TableProvider depends on SessionState. I agree @lewiszlw -- well put. I made a first PR to start detangling things here: https://github.com/apache/datafusion/pull/10794 (it just splits `SessionState` into its own module) Longer term we would have to figure out where `SessionState` would live (it still depends on several things in the core crate like `datasource::provider` and `datasource::function` 🤔 Maybe we could look into splitting out `datafusion-datasource` / `datafusion-datasource-parquet` / `datafusion-datsource-avro`, etc -- I don't have time to drive this at the moment but would be interested in helping anyone who did -- 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