Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jul 20, 2024

Which issue does this PR close?

Part of #11420

Rationale for this change

We are slowly moving towards separating the dependency of SessionState from the datafusion core crate. To do so we need to eventually remove the dependency of SessionState on the core crate.

@Omega359 separated the defaults from SessionState in #11403. SessionStateDefaults has many of those dependencies on the core

What changes are included in this PR?

This PR moves the SessionStateDefaults struct, which depend very much on things in th core, into its own module which gets us slightly closer to being able to move the defaults out of session state.

Are these changes tested?

Existing CI

Are there any user-facing changes?

No (this code is not part of any release yet)

@github-actions github-actions bot added the core Core DataFusion crate label Jul 20, 2024
@alamb alamb marked this pull request as ready for review July 20, 2024 11:37
Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jayzhan211
Copy link
Contributor

Thanks @alamb, it looks nice.

@jayzhan211 jayzhan211 merged commit 5da7ab3 into apache:main Jul 20, 2024
@alamb alamb deleted the alamb/split_session_state_module branch July 21, 2024 12:21
Lordworms pushed a commit to Lordworms/arrow-datafusion that referenced this pull request Jul 23, 2024
* Minor: move `SessionStateDefaults` into its own module

* Fix no default features
wiedld pushed a commit to influxdata/arrow-datafusion that referenced this pull request Jul 31, 2024
* Minor: move `SessionStateDefaults` into its own module

* Fix no default features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants