# Databricks Databricks Connector

Source: https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/databricks-connector/

Databricks is a data and analytics platform built on Apache Spark. Teams query its tables through SQL warehouses or clusters, with table metadata kept in Unity Catalog or in the legacy Hive metastore.

The Qualytics Databricks connector runs its queries on the SQL warehouse or cluster you point it at. Give it a workspace host, the HTTP path of that compute, and a catalog and database, and Qualytics will profile tables, run scheduled scans, and surface record- and schema-level anomalies on the data already in your workspace. A Databricks datastore can also be an enrichment datastore, the place where Qualytics writes its findings.

> **Info: Two ways to connect to Databricks**
>
> This page covers the **Databricks** connector, which reads your data by running queries on a cluster or SQL warehouse. Qualytics also offers [Unity Catalog Native](https://userguide.qualytics.io/source-datastore/datastore/native/unity-catalog/deep-dive/introduction/), which reads managed and external Delta tables straight from cloud storage with no Databricks compute involved, and also works with an open-source Unity Catalog server. Use this connector for anything Unity Catalog Native does not read, such as views, and for an enrichment datastore, and see [Choosing between Unity Catalog Native and Databricks](https://userguide.qualytics.io/source-datastore/datastore/native/unity-catalog/deep-dive/introduction/#notes) for a side-by-side comparison. Both can be connected against the same workspace.

---

## Notes

**Catalog and database.** The form's **Catalog** is the Unity Catalog catalog (or `hive_metastore`) that Qualytics reads metadata from, and **Database** is a database (schema) inside it. Each database you select becomes its own Qualytics datastore. Through the API, the same two values travel as `database` and `schema`; see [Create via API](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/datastore/api/).

**Compute cost.** Every Sync, Profile and Scan runs queries on the SQL warehouse or cluster in the connection, so they use Databricks compute. A serverless SQL warehouse starts quickly and bills only while queries run; see [Compute](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/compute/) for how the compute choice affects the connection.

**Complex data types.** This connector reads through JDBC, so it does not check the columns of complex types (arrays, maps, structs). Use [Unity Catalog Native](https://userguide.qualytics.io/source-datastore/datastore/native/unity-catalog/deep-dive/introduction/) for those.

---

## Deep Dive

- **Authentication**

  Choose between a Personal Access Token and OAuth M2M with a service principal for Databricks connections.

  [Authentication](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/authentication/)
- **Compute**

  How SQL warehouses, all-purpose clusters and node pools affect the queries Qualytics runs.

  [Compute](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/compute/)
- **Permissions**

  Minimum Unity Catalog grants for a source datastore, the extra grants an enrichment datastore needs, and ready-to-paste `GRANT` statements.

  [Permissions](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/permissions/)

---

## How-tos

- **Get the Connection Details**

  Find the host and HTTP path of a SQL warehouse or cluster in your Databricks workspace.

  [Get the Connection Details](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/setup/get-connection-details/)
- **Generate a Personal Access Token**

  Create the token Qualytics uses for Personal Access Token authentication, and revoke it later.

  [Generate a Personal Access Token](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/setup/generate-access-token/)
- **Configure a Node Pool**

  Create a node pool for Qualytics and attach an all-purpose cluster to it.

  [Configure a Node Pool](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/compute/configure-node-pool/)
- **Add Source Datastore**

  Step-by-step UI walkthrough for adding Databricks as a source datastore, with new or existing connections.

  [Add Source Datastore](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/datastore/add-source/)
- **Add Enrichment Datastore**

  The fields you fill in to create a Databricks enrichment datastore, where Qualytics writes its findings.

  [Add Enrichment Datastore](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/datastore/add-enrichment/)
- **Create via API**

  REST and CLI payload examples for creating Databricks source and enrichment datastores, with Personal Access Token and OAuth M2M.

  [Create via API](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/how-tos/datastore/api/)

---

## Reference

- **Troubleshooting**

  Common Databricks connection errors and how to resolve them: credentials, Unity Catalog grants, or compute.

  [Troubleshooting](https://userguide.qualytics.io/source-datastore/datastore/jdbc/databricks/troubleshooting/)

*Last updated: November 16, 2026.*
