UDF Performance Improvement
chris-twiner opened this issue · 1 comments
chris-twiner commented
When using FramelessUdfs the eval function spends a large time compiling, often dominating the actual running of the udf. Moving the compiled codegen out to a lazy val seems to remove the constant compilation and stop binding issues as it's only then called when eval is.
Of course I'm assuming this has been tried and failed for some reason I've not yet bumped into...
chris-twiner commented