From 5d12cfdbe7db814cc35aecd49d10c9fdeb392d65 Mon Sep 17 00:00:00 2001 From: Goksel Kabadayi <45314116+gokselk@users.noreply.github.com> Date: Thu, 19 Dec 2024 01:21:10 +0300 Subject: [PATCH] Clippy fix --- datafusion/expr/src/udf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs index 245ba0c7aee0..7e7aa61ef518 100644 --- a/datafusion/expr/src/udf.rs +++ b/datafusion/expr/src/udf.rs @@ -673,7 +673,7 @@ pub trait ScalarUDFImpl: Debug + Send + Sync { .skip(1) .all(|input| &input.sort_properties == first_order) { - Ok(first_order.clone()) + Ok(*first_order) } else { Ok(SortProperties::Unordered) }