Closed vegarsti closed 2 years ago
I'm very sorry, there was of course the UDFRegisterTest: https://github.com/JetBrains/kotlin-spark-api/blob/spark-3.2/kotlin-spark-api/3.2/src/test/kotlin/org/jetbrains/kotlinx/spark/api/UDFRegisterTest.kt
An example inside https://github.com/JetBrains/kotlin-spark-api/tree/spark-3.2/examples/src/main/kotlin/org/jetbrains/kotlinx/spark/examples would still be valuable I think :) Thanks for letting us know!
Added a complete new notation, support and examples for UDFs in https://github.com/Kotlin/kotlin-spark-api/pull/152. Will be present in the next update :)
https://github.com/Kotlin/kotlin-spark-api/tree/main#user-defined-functions
Thanks for maintaining this project!
I would like to use the UDF functionality provided here. I'm, however, struggling with understanding how to use it. I think the
UDFWrapper
s are what I want.Is there some code somewhere that uses these? I'd be happy to contribute with a PR with for example some tests, when I figure out how to use them.