Reference

Authentication Drillbit


Description

No description available [API reference]

Instructions

Apache Drill JDBC from Power BI, SQL Server Linked Server via ZappySys Data Gateway, Crystal Reports, SSRS, Azure Data Factory, and other ODBC tools.

  1. Note the Drillbit host and JDBC port (default 31010).
  2. Create a Drill user if authentication is enabled, or leave user/password empty for anonymous clusters.
  3. Replace hostname in the JDBC URL. Enable SSL only if your cluster requires it (see the Drill JDBC docs).
  4. Finish the wizard. Then click Test Connection on the DSN Main UI (the wizard does not run Test Connection).
  5. Done. You can query from C#, Python, PowerShell, and ODBC apps.

Parameters

Parameter Required Default value Options
Name: DriverFilePaths

Label: JDBC driver file(s)

Filled by the wizard after download. Separate multiple JARs with a semicolon (e.g. C:\ZappySys\Jdbc\MyConnector\driver.jar).
YES C:\ZappySys\Jdbc\Apache Drill\drill-jdbc-all-1.22.0.jar
Name: HostName

Label: Host

JDBC host name or IP (e.g. MyHostName).
YES MyHostName
Name: Port

Label: TCP port

JDBC port (e.g. 31010).
YES 31010
Name: DriverClass

Label: Driver class

Optional. Leave blank to auto-detect from the JAR unless SPI is ambiguous (e.g. org.apache.drill.jdbc.Driver).
org.apache.drill.jdbc.Driver
Name: UserName

Label: User name

Database user. Leave empty if the server allows anonymous JDBC.
Name: Password

Label: Password

Database password. Leave empty if no password is required.