Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/20900
From a very quick look for the case "Try to be sneaky and don't use
keywords with partial:".
Seems it's due to type mismatch. This seems working fine (in Python 3):
```
>>> spark.range(1).withColumn('ok', pandas_udf(f=partial(test_func, 2),
returnType='bigint')('id')).show()
+---+---+
| id| ok|
+---+---+
| 0| 2|
+---+---+
```
I think we can take this example out in the description.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]