Skip to content

Conversation

@timsaucer
Copy link
Member

@timsaucer timsaucer commented Dec 10, 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-catalog
  • datafusion-datasource-arrow
  • datafusion-datasource-avro
  • datafusion-datasource-csv
  • datafusion-datasource-json
  • datafusion-datasource-parquet
  • datafusion-pruning
  • datafusion-functions-table
  • datafusion-physical-optimizer
  • datafusion-spark
  • datafusion-catalog-listing

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/19258/files?w=1

@github-actions github-actions bot added optimizer Optimizer rules catalog Related to the catalog crate functions Changes to functions implementation datasource Changes to the datasource crate spark labels Dec 10, 2025
@timsaucer timsaucer marked this pull request as ready for review December 10, 2025 12:39
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.

let chains are awesome -- I think that alone is enough to justifiy the Rust 2024 edition

Thanks for pushing this along @timsaucer

@alamb
Copy link
Contributor

alamb commented Dec 14, 2025

I was going through open PRs this morning trying to get some merged, so i took the liberty of merging up from main with this one and resolving conflicts. Once it passes CI I will merge it in as it has the potential for conflicts

@alamb alamb added this pull request to the merge queue Dec 14, 2025
Merged via the queue into apache:main with commit befaf93 Dec 14, 2025
34 checks passed
@alamb
Copy link
Contributor

alamb commented Dec 14, 2025

Thanks again for pushing this along @timsaucer

@timsaucer
Copy link
Member Author

Thank you for finishing this one up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

catalog Related to the catalog crate datasource Changes to the datasource crate functions Changes to functions implementation optimizer Optimizer rules spark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants