Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/20217
  
    Another way is to change the default value of `returnType` of 
`registerFunction` to None. To avoid the behavior change, we can set 
`returnType` for Python functions to `StringType` internally. For UDFs, we can 
issue an error when the input returnType and UDF's returnType do not match, if 
the input `returnType` is not `None`. 
    



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to