You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/11/07 10:10:00 UTC
[jira] [Updated] (DRILL-5666) Add information about UDF naming
collision to Drill documentation
[ https://issues.apache.org/jira/browse/DRILL-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva updated DRILL-5666:
------------------------------------
Fix Version/s: (was: 1.12.0)
Future
> Add information about UDF naming collision 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
> Labels: doc-impacting
> Fix For: Future
>
>
> Add information about UDF naming collision 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 (this will mean you'll have your own Drill version).
> 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)