Catalog.
registerFunction
An alias for spark.udf.register(). See pyspark.sql.UDFRegistration.register().
spark.udf.register()
pyspark.sql.UDFRegistration.register()
New in version 2.0.0.
Deprecated since version 2.3.0: Use spark.udf.register() instead.