This is an automated email from the ASF dual-hosted git repository.
houqp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 6b964cb Fix typo on Python udf functions (#1207)
6b964cb is described below
commit 6b964cbfedc3ee5b08dea8a6c598de7844b95e91
Author: Juan <[email protected]>
AuthorDate: Sun Oct 31 04:47:47 2021 +0100
Fix typo on Python udf functions (#1207)
* Fix typo on Python functions
Co-authored-by: Carlos <[email protected]>
---
python/src/functions.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/src/functions.rs b/python/src/functions.rs
index 9c52497..e7d141d 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,