HyukjinKwon commented on code in PR #43925:
URL: https://github.com/apache/spark/pull/43925#discussion_r1400210509
##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -17218,12 +17218,13 @@ def udf(
Parameters
----------
- f : function
+ f : function, optional
python function if used as a standalone function
- returnType : :class:`pyspark.sql.types.DataType` or str
+ returnType : :class:`pyspark.sql.types.DataType` or str, optional
the return type of the user-defined function. The value can be either a
:class:`pyspark.sql.types.DataType` object or a DDL-formatted type
string.
- useArrow : bool or None
+ Defaults to :class:`StringType.
Review Comment:
```suggestion
Defaults to :class:`StringType`.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]