Skip to content

Apache DataFusion SQL Query Engine

Fix typo on Python udf functions (#1207)

Juan6b964cbfedc3
diff --git a/python/src/functions.rs b/python/src/functions.rs
index 9c52497417..e7d141d611 100644
--- a/python/src/functions.rs
+++ b/python/src/functions.rs
@@ -292,7 +292,7 @@ pub(crate) fn create_udf(
}
}
-/// Creates a new udf.
+/// Creates a new UDF (User Defined Function).
#[pyfunction]
fn udf(
fun: PyObject,
@@ -306,7 +306,7 @@ fn udf(
Ok(create_udf(fun, input_types, return_type, volatility, &name))
}
-/// Creates a new udf.
+/// Creates a new UDAF (User Defined Aggregate Function).
#[pyfunction]
fn udaf(
accumulator: PyObject,