alamb opened a new pull request, #5582:
URL: https://github.com/apache/arrow-datafusion/pull/5582

   Draft as builds on https://github.com/apache/arrow-datafusion/pull/5580
   
   # Which issue does this PR close?
   Part of https://github.com/apache/arrow-datafusion/issues/1754
   
   # Rationale for this change
   I am trying to extract the physical_plan code into its own crate; and to do 
so I need to remove the circular dependencies between core --> datasource --> 
execution --> datasource
   
   The `TaskContext` is the part of the `SessionState` that is used at runtime, 
so I want it it into the `datafusion_execution` crate.
   
   See more details in 
https://github.com/apache/arrow-datafusion/issues/1754#issuecomment-1452438453
   
   # What changes are included in this PR?
   1. Move `TaskContext` to `datafusion_execution`
   2. Change ` session_config: SessionConfig,` field to its two fields 
`extensions` and `config_options`
   
   # Are these changes tested?
   Covered by existing tests
   
   # Are there any user-facing changes?
   Yes, anyone who uses SessionConfig in their execution plans will have to 
update their code to use `config_options` or `extensions` directly. 
   
   I am worried that this is too much API churn (though I think the resulting 
API is cleaner).  I also have a PR to move `SessionConfig` into 
`datafusion_execution`. 
   https://github.com/apache/arrow-datafusion/pull/5581


-- 
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]

Reply via email to