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.