From fc1ace27bd84758b2d0672825ec33176c2fa59f4 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Mon, 4 Nov 2024 17:34:23 +0100 Subject: [PATCH] Fix docstring --- datafusion/expr/src/udf.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs index 2e030911baab..003a3ed36a60 100644 --- a/datafusion/expr/src/udf.rs +++ b/datafusion/expr/src/udf.rs @@ -499,9 +499,9 @@ pub trait ScalarUDFImpl: Debug + Send + Sync { /// /// # Performance /// - /// For the best performance, the implementations of `invoke` should handle - /// the common case when one or more of their arguments are constant values - /// (aka [`ColumnarValue::Scalar`]). + /// For the best performance, the implementations should handle the common case + /// when one or more of their arguments are constant values (aka + /// [`ColumnarValue::Scalar`]). /// /// [`ColumnarValue::values_to_arrays`] can be used to convert the arguments /// to arrays, which will likely be simpler code, but be slower.