Github user sudheeshkatkam commented on a diff in the pull request: https://github.com/apache/drill/pull/397#discussion_r54922552 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFunctionRegistry.java --- @@ -92,38 +112,58 @@ public DrillFunctionRegistry(ScanResult classpathScan) { } public int size(){ - return methods.size(); + return registeredFunctions.size(); } /** Returns functions with given name. Function name is case insensitive. */ public List<DrillFuncHolder> getMethods(String name) { - return this.methods.get(name.toLowerCase()); + return this.registeredFunctions.get(name.toLowerCase()); + } + + public Collection<DrillFuncHolder> getAllMethods() { --- End diff -- Remove unused method (and FunctionImplementationRegistry#getAllMethods).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---