Apache DataFusion SQL Query Engine
Minor: remove useless clone based on Clippy (#8300)
Alex Huang98f1bc017187
diff --git a/datafusion/expr/src/interval_arithmetic.rs b/datafusion/expr/src/interval_arithmetic.rsindex c85c6fc66b..5d34fe91c3 100644--- a/datafusion/expr/src/interval_arithmetic.rs+++ b/datafusion/expr/src/interval_arithmetic.rs@@ -698,7 +698,7 @@ impl Interval {// We want 0 to be approachable from both negative and positive sides.let zero_point = match &dt {DataType::Float32 | DataType::Float64 => Self::new(zero.clone(), zero),- _ => Self::new(prev_value(zero.clone()), next_value(zero.clone())),+ _ => Self::new(prev_value(zero.clone()), next_value(zero)),};// Exit early with an unbounded interval if zero is strictly inside the