[
https://issues.apache.org/jira/browse/DRILL-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526685#comment-15526685
]
ASF GitHub Bot commented on DRILL-4726:
---------------------------------------
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/574#discussion_r80650009
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/DropFunctionHandler.java
---
@@ -48,54 +48,77 @@ public DropFunctionHandler(SqlHandlerConfig config) {
}
/**
- * Drops UDFs dynamically.
+ * Unregisters UDFs dynamically. Process consists of several steps:
+ * <ol>
+ * <li>Registering jar in jar registry to ensure that several jars with
the same name is not being unregistered.</li>
+ * <li>Starts remote unregistration process, gets list of all jars and
excludes jar to be deleted.</li>
+ * <li>Signals drill bits to start local unregistration process.</li>
+ * <li>Removes source and binary jars from registry area.</li>
+ * </ol>
--- End diff --
As noted in previous comments, the expected behavior is to fail.
> Dynamic UDFs support
> --------------------
>
> Key: DRILL-4726
> URL: https://issues.apache.org/jira/browse/DRILL-4726
> Project: Apache Drill
> Issue Type: New Feature
> Affects Versions: 1.6.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Fix For: Future
>
>
> Allow register UDFs without restart of Drillbits.
> Design is described in document below:
> https://docs.google.com/document/d/1FfyJtWae5TLuyheHCfldYUpCdeIezR2RlNsrOTYyAB4/edit?usp=sharing
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)