This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new c7927001b6 build: update Rust toolchain version to 1.94.0 (#21045)
c7927001b6 is described below
commit c7927001b6d65af67b3bf282b968b00a61f4c2cc
Author: dario curreri <[email protected]>
AuthorDate: Thu Mar 19 15:31:51 2026 +0100
build: update Rust toolchain version to 1.94.0 (#21045)
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->
- Closes #21040 .
## Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
just an update of the rust toolchain
## What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->
solved some clippy warnings
## Are these changes tested?
<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code
If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
NA
## 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.
-->
no
---
datafusion/core/src/datasource/file_format/csv.rs | 2 ++
datafusion/core/tests/sql/path_partition.rs | 2 ++
rust-toolchain.toml | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/datafusion/core/src/datasource/file_format/csv.rs
b/datafusion/core/src/datasource/file_format/csv.rs
index 51d799a5b6..a068b4f5c0 100644
--- a/datafusion/core/src/datasource/file_format/csv.rs
+++ b/datafusion/core/src/datasource/file_format/csv.rs
@@ -114,6 +114,8 @@ mod tests {
let len = bytes.len() as u64;
let range = 0..len * self.max_iterations;
let arc = self.iterations_detected.clone();
+ #[expect(clippy::result_large_err)]
+ // closure only ever returns Ok; Err type is never constructed
let stream = futures::stream::repeat_with(move || {
let arc_inner = arc.clone();
*arc_inner.lock().unwrap() += 1;
diff --git a/datafusion/core/tests/sql/path_partition.rs
b/datafusion/core/tests/sql/path_partition.rs
index c23f53b8db..1afab529f0 100644
--- a/datafusion/core/tests/sql/path_partition.rs
+++ b/datafusion/core/tests/sql/path_partition.rs
@@ -735,6 +735,8 @@ impl ObjectStore for MirroringObjectStore {
.map(|mut x| x.next().is_some())
.unwrap_or(false);
+ #[expect(clippy::result_large_err)]
+ // closure only ever returns Ok; Err type is never constructed
filter.then(|| {
Ok(ObjectMeta {
location,
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index f351f58a71..c7d61a9e24 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -19,5 +19,5 @@
# to compile this workspace and run CI jobs.
[toolchain]
-channel = "1.93.0"
+channel = "1.94.0"
components = ["rustfmt", "clippy"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]