alamb opened a new pull request, #7631: URL: https://github.com/apache/arrow-datafusion/pull/7631
## Which issue does this PR close? N/A ## Rationale for this change The names for creating SessionContext and SessionState are inconsistent, which has bothered me for a long time. It is confusing that `SessionContext::with_config_rt` creates a new `SessionContext` while most methods in DataFusion that start with `with` are used to update a field. ## What changes are included in this PR? 1. Add a `new` prefix to `SessionContext::with_config_rt` and related functions so they are called `SessionContext::new_with_config_from_rt` 2. Add deprecation notes for the old names 3. Remove `default_session_builder` which was deprecated almost 10 releases ago ## Are these changes tested? Existing tests ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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]
