Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1881

Add Javascript UDF support

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Function/UDF
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: