alamb opened a new issue, #7357: URL: https://github.com/apache/arrow-datafusion/issues/7357
### Is your feature request related to a problem or challenge? I am bringing the conversation from this thread into its own ticket so it isn't lost so deep down in the weeds: https://github.com/apache/arrow-datafusion/pull/7175#issuecomment-1684293835 Basically https://github.com/apache/arrow-datafusion/pull/7175 introduced an (explicit) dependency between datafusion core and the physical plans (I am trying to cut out the physical plans into their own crate in https://github.com/apache/arrow-datafusion/issues/1754 ) ### Describe the solution you'd like I would like to remove the dependency from physical_plan --> datasource (currently datasource depends on physical_plan) specifically this line: https://github.com/apache/arrow-datafusion/blob/6aa423b70b4eb1f28165919fbfb4efe323669bc4/datafusion/core/src/physical_plan/mod.rs#L26 as @not-my-profile has pointed out the connections are non trivial and sometimes implicit, so the sooner we force the API to stay clean the better off we'll be ### Describe alternatives you've considered I am not sure -- it seems like we should be able to pull the file config function into its own trait, and then downcast to as_any as @not-my-profile suggested in https://github.com/apache/arrow-datafusion/pull/7175#issuecomment-1684547594 but I was having trouble making that work ### Additional context _No response_ -- 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]
