Github user laurentgo commented on a diff in the pull request:

    https://github.com/apache/drill/pull/622#discussion_r83982861
  
    --- Diff: 
exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillDatabaseMetaDataImpl.java
 ---
    @@ -54,6 +55,10 @@ private void throwIfClosed() throws 
AlreadyClosedSqlException,
         }
       }
     
    +  private RpcEndpointInfos getServerInfos() throws SQLException {
    +    DrillConnectionImpl connection = (DrillConnectionImpl) getConnection();
    +    return connection.getClient().getServerInfos();
    --- End diff --
    
    yes, because the client is initialized as part of the constructor of 
DrillConnectionImpl (the field is final too)


---
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.
---

Reply via email to