[
https://issues.apache.org/jira/browse/DRILL-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469090#comment-15469090
]
ASF GitHub Bot commented on DRILL-4726:
---------------------------------------
Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/574#discussion_r77743717
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionInitializer.java
---
@@ -42,22 +42,29 @@
public class FunctionInitializer {
static final org.slf4j.Logger logger =
org.slf4j.LoggerFactory.getLogger(FunctionInitializer.class);
- private String className;
-
+ private final String className;
+ private final ClassLoader classloader;
private Map<String, CompilationUnit> functionUnits = Maps.newHashMap();
private Map<String, String> methods;
private List<String> imports;
private volatile boolean ready;
/**
* @param className the fully qualified name of the class implementing
the function
+ * @param classLoader system or custom class loader
--- End diff --
Please explain the purpose of the class loader: how is it used?
> 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)