udf
A collection of methods for registering user-defined functions (UDF).
The following example registers a UDF in Kotlin:
sparkSession.udf.register("myUDF") { arg1: Int, arg2: String -> arg2 + arg1 }
Content copied to clipboard
A collection of methods for registering user-defined functions (UDF).
The following example registers a UDF in Kotlin:
sparkSession.udf.register("myUDF") { arg1: Int, arg2: String -> arg2 + arg1 }