Reference

Authentication Broker SQL (Avatica)


Description

No description available [API reference]

Instructions

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

  1. Use the Router or Broker host. Default SQL Avatica path is /druid/v2/sql/avatica/ on port 8888.
  2. If the cluster uses basic auth, fill user and password from the Druid coordinator.
  3. Prefer HTTPS only when TLS is terminated on that endpoint (see Druid SQL 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 Druid\avatica-1.28.0-shadow.jar
Name: HostName

Label: Host

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

Label: TCP port

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

Label: Driver class

Optional. Leave blank to auto-detect from the JAR unless SPI is ambiguous (e.g. org.apache.calcite.avatica.remote.Driver).
org.apache.calcite.avatica.remote.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.