Details
-
New Feature
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Basically, users should make their own java implementation for UDFs and create the jar for them. In addition, users should distribute the jar across all cluster nodes. It is very cumbersome work.
So, I propose javascript UDF, which can be loaded instantly in runtime. Also, users can include their own UDF in their own SQL file.
Java 8 provides the better script engine system. Basically, it provides Nashorn, which is a javascript engine. We can easily implement this feature by using Nashorn.