Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3161

Drill JDBC driver not visible/auto-registered via Service Provider Mechanism

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • Future
    • Client - JDBC
    • None

    Description

      Drill's JDBC driver is not automatically made visible to JDBC's DriverManager and auto-registered, because it does not use Java's Service Provider Mechanism as specified by JDBC 4.0.

      This usually means that instead of just having to put the Drill JDBC driver Jar file on the class path and use a Drill JDBC URL (one starting with "jdbc:drill:"), users also have to configure their tools or code with the name of the Drill driver class.
       

      The Drill JDBC driver's Jar file should contain a META-INF/services/java.sql.Driver file that contains a line consisting of the fully qualified name of the Drill JDBC driver class (org.apache.drill.jdbc.Driver).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsbos Daniel Barclay
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: