Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/20217
To be consistent with Java/Scala API, I think we should only add this new
API to `UDFRegistration`. We should also move the `registerFunction` to there
too, and deprecate it in `Catalog`.
Like other people mentioned before, it's really confusing to have so many
ways to register a UDF in PySpark, while Java/Scala API is cleaner.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]