drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4369) Database driver fails to report any major or minor version information
Date Wed, 19 Oct 2016 01:11:58 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587264#comment-15587264
] 

ASF GitHub Bot commented on DRILL-4369:
---------------------------------------

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

    https://github.com/apache/drill/pull/622#discussion_r83981530
  
    --- 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 --
    
    are guaranteed _connection.getClient()_ won't return null ?


> Database driver fails to report any major or minor version information
> ----------------------------------------------------------------------
>
>                 Key: DRILL-4369
>                 URL: https://issues.apache.org/jira/browse/DRILL-4369
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>    Affects Versions: 1.4.0
>            Reporter: N Campbell
>
> Using Apache 1.4 Drill
> The DatabaseMetadata.getters to obtain the Major and Minor versions of the server or
JDBC driver return 0 instead of 1.4.
> This prevents an application from dynamically adjusting how it interacts based on which
version of Drill a connection is accessing.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message