Skip to content

Commit 39754e5

Browse files
committed
Minor user documentation update
1 parent fea99f3 commit 39754e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/source/user-guide/common-operations/udf-and-udfa.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ converting to Python objects to do the evaluation.
9090
9191
df.select(col("a"), is_null_arr(col("a")).alias("is_null")).show()
9292
93+
If you need to write a custom function but do not want to incur the performance
94+
cost of converting to Python objects and back, a more advanced approach is to
95+
write Rust based UDFs and to expose them to Python. There is an example in the
96+
`DataFusion blog <https://datafusion.apache.org/blog/2024/11/19/datafusion-python-udf-comparisons/>`_
97+
describing how to do this.
98+
9399
Aggregate Functions
94100
-------------------
95101

0 commit comments

Comments
 (0)