DQC Logo
|

Connection to Databricks

To connect a Databricks workspace to the DQC Platform, you provide the workspace host, an HTTP path pointing at a SQL Warehouse or interactive cluster, the Unity Catalog name and credentials. DQC uses the native Databricks SQL protocol — no Spark cluster startup is required when targeting a SQL Warehouse.

If you previously used the legacy Databricks (Spark) connector, this is the modern replacement. The legacy connector is being phased out — see the migration note at the bottom of this page.


Add a Databricks connector

To begin:

  1. Go to the Connectors > Data sources screen

  2. Click the Databricks tile

  3. Enter the connection parameters described below and choose an authentication method


undefined Required connection information

Field

Example

Description

Name

Production Databricks

A custom name to identify this connector inside DQC

Host

dbc-12345678-abcd.cloud.databricks.com

Workspace host without the https:// prefix

HTTP Path

/sql/1.0/warehouses/abc123def456

HTTP path of the SQL Warehouse or cluster. Find it in Databricks under SQL Warehouses → Connection details or Compute → JDBC/ODBC.

Compute Type

SQL Warehouse

Choose SQL Warehouse for serverless or pro warehouses (recommended) or Compute Cluster for interactive clusters.

Authentication method

Token

Either Token (Personal Access Token) or Client ID / Secret (OAuth service principal).

Catalog

main

Unity Catalog name containing the relevant schemas and tables

DB Schema

analytics

Schema (database) inside the catalog. Defaults to the workspace default if empty.


undefined Choose an authentication method

Option A — Personal Access Token

In Databricks open User Settings → Developer → Access tokens and generate a new token. Recommended for quick setup and individual workspaces.

Option B — OAuth service principal

Recommended for production. Provide:

  • Client ID — the application ID of the service principal

  • Client Secret — the OAuth secret generated for the service principal

Grant the service principal USE CATALOG, USE SCHEMA and SELECT privileges on the target catalog/schema in Unity Catalog.


undefined SQL Warehouse vs. Compute Cluster

  • SQL Warehouse — recommended. Lower latency, no Spark session start-up, HTTP Path looks like /sql/1.0/warehouses/<id>.

  • Compute Cluster — use only if you need an existing interactive cluster. HTTP Path looks like /sql/protocolv1/o/<workspace_id>/<cluster_id>.


undefined What gets imported

  • All tables and views in the configured catalog/schema that the user (or service principal) can read

  • Delta, Parquet and external tables are all supported

  • Catalog and schema are bound to the connector — to query a different catalog or schema, create a new connector


undefined Migrating from the legacy Databricks (Spark) connector

The legacy Databricks (Spark) connector — which used PySpark and required a Cluster ID — is deprecated and will be removed in a future release. Recreate your connection using this connector and the SQL Warehouse compute type whenever possible.


undefined Connect and assign permissions

After saving, DQC validates the credentials, lists the available tables and lets you pick which ones to expose. To control who can use the connector inside DQC, see Data source access permissions.