Closed Jolanrensen closed 2 years ago
Maybe a vararg typed udf as final one?
To do: Finish tests, add examples, add in wiki/readme, probably merge udt first since column functions are changed here as well.
updated wiki https://github.com/Kotlin/kotlin-spark-api/wiki/UDF
@asm0dey whenever you have time to check it :)
It's definitely 1.2.0, not 1.1.1
For future reference, these files were used to generate the UDFs:
from issue: https://github.com/JetBrains/kotlin-spark-api/issues/143
One gotcha I noticed is that
won't work since
toNormalClass2
is never accessed, so the register function is not executed. A simpleval a = toNormalClass2
already fixes this, but it's not optimal...