You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/09/23 07:43:04 UTC

[jira] [Created] (TAJO-1881) Add Javascript UDF support

Hyunsik Choi created TAJO-1881:
----------------------------------

             Summary: Add Javascript UDF support
                 Key: TAJO-1881
                 URL: https://issues.apache.org/jira/browse/TAJO-1881
             Project: Tajo
          Issue Type: New Feature
            Reporter: Hyunsik Choi
            Assignee: Hyunsik Choi
             Fix For: 0.12.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)