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 2b67ba81c6 [minor] Upgrade rust version (#19363)
2b67ba81c6 is described below
commit 2b67ba81c60690d045ddd71910dd92810704f40e
Author: Daniƫl Heres <[email protected]>
AuthorDate: Wed Dec 17 05:05:01 2025 +0100
[minor] Upgrade rust version (#19363)
## 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 #.
## Rationale for this change
Just keep it up to date
<!--
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.
-->
## 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.
-->
## 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)?
-->
## 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.
-->
---
datafusion/functions-nested/src/range.rs | 2 +-
datafusion/sql/src/expr/value.rs | 1 -
rust-toolchain.toml | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/datafusion/functions-nested/src/range.rs
b/datafusion/functions-nested/src/range.rs
index 0e32f51edd..aae641ceeb 100644
--- a/datafusion/functions-nested/src/range.rs
+++ b/datafusion/functions-nested/src/range.rs
@@ -573,7 +573,7 @@ fn gen_range_iter(
}
fn parse_tz(tz: &Option<&str>) -> Result<Tz> {
- let tz = tz.as_ref().map_or_else(|| "+00", |s| s);
+ let tz = tz.unwrap_or_else(|| "+00");
Tz::from_str(tz)
.map_err(|op| exec_datafusion_err!("failed to parse timezone {tz}:
{:?}", op))
diff --git a/datafusion/sql/src/expr/value.rs b/datafusion/sql/src/expr/value.rs
index fa7dd7498d..7808f8cb5d 100644
--- a/datafusion/sql/src/expr/value.rs
+++ b/datafusion/sql/src/expr/value.rs
@@ -186,7 +186,6 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
/// Convert a SQL interval expression to a DataFusion logical plan
/// expression
- #[expect(clippy::only_used_in_recursion)]
pub(super) fn sql_interval_to_expr(
&self,
negative: bool,
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 22666a1b45..4e3ea12e2f 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -19,5 +19,5 @@
# to compile this workspace and run CI jobs.
[toolchain]
-channel = "1.91.0"
+channel = "1.92.0"
components = ["rustfmt", "clippy"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]