Muritiku commented on a change in pull request #1482: DRILL-6762: Dynamic UDFs 
registered on 1 Drillbit not visible on others
URL: https://github.com/apache/drill/pull/1482#discussion_r220816798
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/registry/RemoteFunctionRegistry.java
 ##########
 @@ -124,7 +125,7 @@ public long getRegistryVersion() {
       return version.getVersion();
     } else {
       logger.error("Remote function registry [{}] is unreachable", 
registry_path);
-      return -1;
+      return UNREACHABLE;
 
 Review comment:
   Look at my another comment. Here is the int to long autoconversion too, 
because returning value is long. :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to