Skip to content

Commit 1d42d86

Browse files
authored
Fix typo in comments in PySpark's udf() definition
1 parent 93f92c0 commit 1d42d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2103,7 +2103,7 @@ def udf(f=None, returnType=StringType()):
21032103
>>> import random
21042104
>>> random_udf = udf(lambda: int(random.random() * 100), IntegerType()).asNondeterministic()
21052105
2106-
.. note:: The user-defined functions do not support conditional expressions or short curcuiting
2106+
.. note:: The user-defined functions do not support conditional expressions or short circuiting
21072107
in boolean expressions and it ends up with being executed all internally. If the functions
21082108
can fail on special rows, the workaround is to incorporate the condition into the functions.
21092109

0 commit comments

Comments
 (0)