drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khurram Faraaz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4023) getDriverVersion of DatabaseMetaData interface does not return JDBC driver version
Date Tue, 03 Nov 2015 23:11:27 GMT
Khurram Faraaz created DRILL-4023:
-------------------------------------

             Summary: getDriverVersion of DatabaseMetaData interface does not return JDBC
driver version
                 Key: DRILL-4023
                 URL: https://issues.apache.org/jira/browse/DRILL-4023
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - JDBC
    Affects Versions: 1.3.0
            Reporter: Khurram Faraaz


getDriverVersion of DatabaseMetaData interface does not return JDBC driver version, instead
reports that apache-drill-jdbc.properties file is not loaded.

{code}

    DatabaseMetaData meta = conn.getMetaData();
    System.out.println("JDBC driver version is " + meta.getDriverVersion());

Output returned by call to getDriverVersion function is,
<Properties resource apache-drill-jdbc.properties not loaded>

Properties file, apache-drill-jdbc.properties does not exist in the Drill project 

Admin:drill kfaraaz$ find . -name *.properties
./common/target/classes/git.properties
./contrib/data/target/classes/git.properties
./contrib/data/tpch-sample-data/target/classes/git.properties
./contrib/target/classes/git.properties
./exec/java-exec/target/classes/git.properties
./exec/target/classes/git.properties
./git.properties
./protocol/target/classes/git.properties
./target/classes/git.properties
{code}



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

Mime
View raw message