Skip to content

Apache DataFusion SQL Query Engine

feat: derive `Debug` and `Clone` for `ScalarFunctionArgs` (#16471)

Marco Neumannd8ee8d894abf
diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs
index 816929a1fb..7139816c10 100644
--- a/datafusion/expr/src/udf.rs
+++ b/datafusion/expr/src/udf.rs
@@ -293,6 +293,7 @@ where
/// Arguments passed to [`ScalarUDFImpl::invoke_with_args`] when invoking a
/// scalar function.
+#[derive(Debug, Clone)]
pub struct ScalarFunctionArgs {
/// The evaluated arguments to the function
pub args: Vec<ColumnarValue>,