Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/20217
Deprecating `registerFunction(name, f, returnType)` is not acceptable in
Spark 2.x releases.
They still call `registerFunction(name, f)` when `f` is a UDF based on my
above comment. The error will be issued if they specify the mismatched
`returnType`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]