Skip to content

Make session state builder clonable#20136

Merged
alamb merged 1 commit intoapache:mainfrom
askalt:askalt/make-builder-clonable
Feb 3, 2026
Merged

Make session state builder clonable#20136
alamb merged 1 commit intoapache:mainfrom
askalt:askalt/make-builder-clonable

Conversation

@askalt
Copy link
Contributor

@askalt askalt commented Feb 3, 2026

Rationale for this change

We have the next flow in our DF based project: create a base SessionStateBuilder and then, when a new user session is created, it is used to build a session state. As build(...) consumes self, it would be good to have Clone on SesssionStateBuilder, what this patch adds.

@github-actions github-actions bot added the core Core DataFusion crate label Feb 3, 2026
@Omega359
Copy link
Contributor

Omega359 commented Feb 3, 2026

Seems simple enough :)

@askalt
Copy link
Contributor Author

askalt commented Feb 3, 2026

Seems simple enough :)

Yes, we (our team) are currently in process of moving our patches from the fork the upstream, as trying bump DF from patched 42 to the actual one. So I make the separate PR for each patch as all changes are pretty scattered over the code and each PR could be really small.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thanks @askalt and @Omega359

@alamb alamb added this pull request to the merge queue Feb 3, 2026
Merged via the queue into apache:main with commit c3eb9ef Feb 3, 2026
28 checks passed
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.

3 participants