UDF#

udf.UserDefinedFunction.asNondeterministic()

Updates UserDefinedFunction to nondeterministic.

udf.UserDefinedFunction.returnType

UDFRegistration.register(name, f[, returnType])

Register a Python function (including lambda function) or a user-defined function as a SQL function.

UDFRegistration.registerJavaFunction(name, ...)

Register a Java user-defined function as a SQL function.

UDFRegistration.registerJavaUDAF(name, ...)

Register a Java user-defined aggregate function as a SQL function.