alamb opened a new pull request, #5581: URL: https://github.com/apache/arrow-datafusion/pull/5581
Move `SessionConfig` to `datafusion_execution` # 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. SessionConfig is used in TaskContext so it needs to go first See more details in https://github.com/apache/arrow-datafusion/issues/1754#issuecomment-1452438453 # What changes are included in this PR? 1. Move `SessionConfig` to `datafusion_execution` 2. Add `SessionConfig::options()` / `SessionConfig::options_mut()` to mirror the field name and reduce redundancy 3. Mark `SessionConfig::config_options()`/ `SessionConfig::config_options_mut()` deprecated # Are these changes tested? Covered by existing tests # Are there any user-facing changes? I added a `pub use` so this code movement should not affect users other than the deprecated API -- 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]
