Skip to content
Book a demo

Atlas documentation

All documentation
Documentation

Databricks

On this page

Connect Adverity Atlas to a Databricks SQL warehouse.

Prerequisites

A user or role that can read the data you want to query. Adverity Atlas only issues read queries against your tables, it does not create, modify, or drop them, so read access is all it needs.

If a Databricks IP access list only accepts connections from known addresses, allow the IP address shown on the wizard's Authenticate step, under the connection fields. Adverity Atlas connects from that address.

What Adverity Atlas reads

A sync lists the objects in each schema you bind and records what kind each one is. Profiling then runs aggregate queries over the types it can profile, and those field statistics are what Chat and the glossary work from. An object that is discovered but not profiled is still queryable, it just carries no statistics.

Scroll horizontally to see the full table.

Object type

Discovered and queryable

Profiled

Tables: managed, external, streaming, foreign, and shallow clones

Yes

Yes

Views

Yes

No

Materialized views

Yes

No

The schema browser lists a materialized view as View, not MV.

Querying and profiling need the same access: SELECT on the objects you want available. Profiling adds no privilege of its own, it reads the same objects with aggregate queries. The principal also needs USE CATALOG on the Unity Catalog named in Catalog, or no catalogs are listed, and USE SCHEMA on each schema you want synced. To run queries at all, it needs the Can use permission on the SQL warehouse named in HTTP Path.

GRANT USE CATALOG ON CATALOG main TO `atlas-reader`;
GRANT USE SCHEMA ON CATALOG main TO `atlas-reader`;
GRANT SELECT ON CATALOG main TO `atlas-reader`;

Granting on the catalog covers every schema and table in it, including ones created later. Grant on individual schemas instead to narrow it. For OAuth M2M and Azure Service Principal, the service principal also has to be added to the workspace before it can be granted anything.

The Connection test on the wizard's Test step proves that access, in the order a sync needs it: connect, list the schemas, list the tables in the target schema, and read a row.

Authentication methods

Databricks supports 3 authentication methods. Choose the one that matches your security posture.

Access Token (PAT)

Use a Databricks personal access token.

Best for: Fastest setup; tied to the issuing user's permissions.

Credentials:

Scroll horizontally to see the full table.

Field

Description

Access Token

e.g. dapi... Stored encrypted.

Required

OAuth M2M

Machine-to-machine OAuth using a Databricks service principal.

Best for: Production service-principal auth with no user dependency.

No credentials are stored for this method. The Host field is not shown either: the workspace is already named on the service config's Token URL, so Adverity Atlas takes the host from there rather than asking twice. That is why the Token URL has to be the workspace-level endpoint, https://<workspace-host>/oidc/v1/token; a client whose Token URL names no workspace is refused when you save.

The service config is checked as soon as it is saved: Adverity Atlas requests a token from the workspace with the service principal's credentials and discards it, so a wrong Client Secret or a mistyped Token URL shows as Verification failed on the service config with Databricks' own reason, before you reach this wizard. The OAuth client pick shows that state next to the client's name (a verified client shows just its name), and if you pick a failed client anyway, Review & create warns you which one and why. See Service configs.

Azure Service Principal

Authenticate via an Azure service principal (client id + secret).

Best for: Azure Databricks workspaces using Entra ID.

The service config asks for:

Scroll horizontally to see the full table.

Field

Value

Azure Tenant ID

Your Microsoft Entra (Azure AD) tenant ID

Required

Client ID

The service principal's application (client) ID

Required

Client Secret

A client secret for that application. Stored encrypted.

Required

Token URL

https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token, with your tenant ID in place of <tenant-id>. Data sources do not call this URL; the connection builds its own from the tenant ID

Required

No credentials are stored for this method. The Host field stays: the service config's Token URL names your Azure tenant, not a workspace.

Setup

  1. Go to Settings > Data Governance > Data Sources. Under Add Connection, choose Databricks. The Add a data source wizard opens on its Auth method step with Databricks already selected.

  2. Auth method, pick one of the methods above and click Continue.

  3. Authenticate, fill in the Configuration fields and either the Credentials fields or, for OAuth M2M and Azure Service Principal, the OAuth client pick, then click Save credentials. The wizard moves on to Test.

  4. Test, Adverity Atlas tests the connection as soon as you arrive and shows the result under Connection test. Continue unlocks once the test passes. After fixing a failure, click Test again. Back discards the saved credentials and returns you to Authenticate, with the configuration still filled in.

  5. Configure, enter a Name and pick a Mode: Active (sync runs on schedule and agents can query this source), Development (sync runs, but agents cannot query it), or Disabled (no automated operations). Optionally set a Sync Schedule, limit which schemas are synced under Collections (case-sensitive patterns that include or exclude whole schemas, matched against the ones the connection test listed), and tick the Workspaces to bind the source to. You need at least one workspace you administer, unless you are an Organization Owner. Click Continue.

  6. Review & create, check the summary, including how many of the listed schemas will be synced, and click Create data source.

The Connection test runs the full connection diagnostic: it authenticates, lists the visible schemas, lists the tables in the target schema, and reads a row. You cannot continue to Configure until every check passes, so a wrong credential or a missing grant is resolved here rather than becoming an unhealthy source afterwards. A failed check reports the warehouse's own error, and the grant that is missing where Adverity Atlas can work it out, see Connection diagnostics. A test that could not run at all says "The connection test could not run. Try again in a moment."

Adverity Atlas verifies the connection as soon as the source is created, and starts the first sync when verification succeeds and the mode allows it. Schema discovery and field profiling run from that sync.

Connection fields

These appear under Configuration on the wizard's Authenticate step.

Scroll horizontally to see the full table.

Field

Description

Host

The workspace hostname, e.g. adb-123456.azuredatabricks.net, without https:// or a path

Required, except for OAuth M2M, where it is taken from the OAuth client's Token URL and not shown

HTTP Path

The SQL warehouse's HTTP path, e.g. /sql/1.0/warehouses/abc123, from SQL Warehouses > Connection details

Required

Catalog

The Unity Catalog whose schemas Adverity Atlas syncs, e.g. main

Required

Adverity Atlas checks these as you save them and shows what to fix under the field: a full URL pasted into Host, or a cluster path in HTTP Path (Adverity Atlas connects to SQL warehouses, not to all-purpose clusters). Connections always use port 443.

Relationships

On a Unity Catalog catalog, Adverity Atlas reads the foreign-key constraints declared on your tables and lists them under each asset's Relationships as Confirmed joins, including composite keys and keys that reference a table in another schema of the same catalog. A key that references a table in a different catalog is not listed.

Databricks does not enforce these constraints; it records them as informational. Adverity Atlas trusts the declaration as written, the same way it does for Snowflake, so a Confirmed join says the constraint exists, not that the warehouse guarantees the rows match.

The legacy Hive metastore has no constraints. Relationships on those data sources come from inference alone.

Sync freshness

After the first sync, Adverity Atlas re-reads a table's columns only when the table has changed, and re-profiles its data only when it has changed or the profile is more than a week old. For Databricks the change signal is the time of the table's last Delta commit, read with DESCRIBE DETAIL, one statement per table. It moves on inserts, updates, deletes and schema changes, and not on reads.

Only Delta tables carry that signal. Views, foreign tables and tables in other formats have none, so they are re-read and re-profiled on every sync, as before. The principal needs SELECT on a table to describe it; a table it cannot describe is treated the same way.

Troubleshooting

Scroll horizontally to see the full table.

Symptom

Likely cause

Sign-in fails with an access token

The PAT expired or was revoked. Issue a new one.

Test or queries time out waiting for the warehouse

The SQL warehouse is stopped. Start it, or enable auto-start.

Service config shows "Verification failed"

The reason under the badge is Databricks' own. "Invalid client credentials" means the service principal's Client ID or Client Secret; "Could not reach the authorization server" means the Token URL. Fix and save to check again.

No catalogs listed

The principal lacks USE CATALOG on Unity Catalog.

"The token URL of the OAuth client … does not name a workspace"

The service config's Token URL is the account-level or the Entra endpoint. Change it to https://<workspace-host>/oidc/v1/token under Settings > Integrations > Service Configs, then save the data source again.

What's next


Adverity Atlas 2026.11.4. Powered by AI.