drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5666) Add information about UDF naming collisions to Drill documentation
Date Mon, 10 Jul 2017 10:25:00 GMT
Arina Ielchiieva created DRILL-5666:
---------------------------------------

             Summary: Add information about UDF naming collisions to Drill documentation
                 Key: DRILL-5666
                 URL: https://issues.apache.org/jira/browse/DRILL-5666
             Project: Apache Drill
          Issue Type: Task
    Affects Versions: 1.10.0
            Reporter: Arina Ielchiieva
            Assignee: Bridget Bevens
            Priority: Minor


Add information about UDF naming collisions to Drill documentation.
The below information can be used as model:

Under duplicated UDF we imply UDF with the same signature (name + input parameters, including
input mode, ex: LOWER(VARCHAR-OPTIONAL)).
If duplicated function is found during drillbit start up, drillbit will fail.
If we speak about Dynamic UDFs upload then if user tries to register duplicated function,
registration will fail and user will see appropriate error message.
This error message will include duplicated function signature and from where it was registered
(built-in or jar name if dynamic).

Functions can be built-in or dynamic. When function is built-in, it can be registered from
two places, from drill-java-exec jar or from custom jar (if it is placed into the classpath,
usually into jars folder).
If function is built-in and was registered from drill-java-exec jar, you cannot replace it
with your own, unless you change drill-java-exec jar.
If function is built-in and was registered from custom jar in classpath, you can remove /
replace custom jar and restart drillbit.
If function is dynamic, you can use DROP FUNCTION command and then register new function with
the same signature. 

Link to Drill documentation - https://drill.apache.org/docs/develop-custom-functions/




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message