Skip to content

Conversation

@timsaucer
Copy link
Member

@timsaucer timsaucer commented Dec 8, 2025

Which issue does this PR close?

This addresses part of #15804 but does not close it.

Rationale for this change

Now that we are on MSRV 1.88 we can use rust edition 2024, which brings let chains and other nice features. It also improves unsafe checking. In order to introduce these changes in slower way instead of one massive PR that is too difficult to manage we are updating a few crates at a time.

What changes are included in this PR?

Updates these crates to 2024.

  • datafusion-datasource
  • datafusion-functions-nested
  • datafusion-optimizer
  • datafusion-physical-plan
  • datafusion-session
  • datafusion-sql

Are these changes tested?

Existing unit tests. There are no functional code changes.

Are there any user-facing changes?

None.

Note

It is recommended to review with the ignore whitespace setting: https://github.com/apache/datafusion/pull/19196/files?w=1

@github-actions github-actions bot added sql SQL Planner physical-expr Changes to the physical-expr crates optimizer Optimizer rules datasource Changes to the datasource crate physical-plan Changes to the physical-plan crate and removed physical-expr Changes to the physical-expr crates labels Dec 8, 2025
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.

I reviewed the whitespace blind version: https://github.com/apache/datafusion/pull/19196/files?w=1

Looks good to me. Thank you @timsaucer for driving this along

FWIW since this PR will be a conflict magnet I recommend resolving the conflicts and then merging it as soon as possible

(sorry I actually reviewed this yesterday but forgot to hit submit on the review)

@timsaucer
Copy link
Member Author

FWIW since this PR will be a conflict magnet I recommend resolving the conflicts and then merging it as soon as possible

Thanks. Will do.

@timsaucer timsaucer force-pushed the chore/upgrade-rust-2024-group-5 branch from eacf226 to 861981c Compare December 10, 2025 12:04
@timsaucer timsaucer added this pull request to the merge queue Dec 10, 2025
Merged via the queue into apache:main with commit 2a08013 Dec 10, 2025
17 checks passed
@timsaucer timsaucer deleted the chore/upgrade-rust-2024-group-5 branch December 10, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datasource Changes to the datasource crate optimizer Optimizer rules physical-plan Changes to the physical-plan crate sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants