OpenMetadata with Databricks and Unity Catalog

Connect OpenMetadata to Databricks and Unity Catalog with the right connector, the system table grants that usage and lineage depend on, and Databricks jobs cataloged as pipelines.

On this page

How OpenMetadata connects to Databricks and Unity Catalog

A data team running Databricks that needs a governed catalog can connect OpenMetadata to it. OpenMetadata reads Databricks metadata through its Databricks and Unity Catalog connectors, with query usage and lineage read from Databricks system tables, and jobs cataloged by a separate pipeline connector. Both metadata connectors are production connectors that cover metadata, query usage, profiler, data quality, lineage, column-level lineage, dbt, sample data, owners, tags and auto-classification, so most of the catalog can be built from them.

The first decision is which metadata connector fits your workspace setup. The Databricks connector and the Unity Catalog connector overlap in scope, but they authenticate and read catalogs differently, so confirm the choice against the connector documentation for the version you deploy, which is listed in the Unity Catalog connector docs. Check whether your tables are governed through Unity Catalog, and whether the service account can reach the catalogs you want to include. Also confirm the Databricks authentication format the connector expects, because OpenMetadata 2.0 changed it and existing ingestion configurations may need updating before the first run.

Usage and lineage depend on Databricks system tables, not on the metadata connector alone. The connector user needs SELECT on system.query.history for usage, and on system.access.table_lineage and system.access.column_lineage for lineage. Ask your Databricks administrator to grant these explicitly and to confirm that system tables are enabled in your account. Jobs are a separate concern: the Databricks pipeline connector catalogs them with pipeline status, usage and lineage, so plan it as its own ingestion service with its own permissions and schedule.

Choosing between the Databricks and Unity Catalog connectors

OpenMetadata offers two database connectors for Databricks, and they differ in how they reach your workspace and metastore. The cards below cover the decisions that determine which one fits, the auth format change in 2.0, and the gaps each connector leaves. Confirm every choice against the connector docs before you build the service.

Workspace setup and reach

The Databricks connector reads metadata through a workspace connection, so each workspace you want cataloged needs its own service definition and host details. Check which workspaces hold the tables you need and whether the OpenMetadata ingestion runner can reach each workspace endpoint from your network. Plan one service per workspace so ownership and scheduling stay clear.

Databricks connector docs

Metastore scope

The Unity Catalog connector works against a Unity Catalog metastore, which can span several workspaces attached to it. Confirm how many metastores your organization runs and which workspaces attach to each, because that layout decides whether one service covers your estate or you need several. Mixing the two connectors over the same tables can produce duplicate or conflicting entities.

Unity Catalog connector docs

Auth format changed in 2.0

OpenMetadata 2.0 introduced a new Databricks auth format, so connection configurations written for 1.x must be updated before the first 2.0 ingestion run. Inventory every existing Databricks service, record its current auth fields, and test each one in a non-production environment. Treat the auth change as a required step in the upgrade plan, not an optional cleanup.

What the Databricks connector cannot see

Usage and lineage depend on system tables that your Databricks account must expose to the ingestion identity, so a grant gap leaves those features empty without an obvious error. Confirm with the connector docs which metadata types each connector covers in your setup, and test lineage on one known table before rolling out. Expect gaps in any object type the connector does not document.

Confirm the fit before you build

Choose the connector by matching your metastore layout, workspace count and auth method against the current connector documentation for your OpenMetadata version. Write the decision down with the version you tested, because connector behavior changes between releases. Ask your Databricks administrator to confirm the workspace and metastore structure before the service is created.

Configuring the connector in the order that avoids rework

This sequence moves from Databricks permissions to a working OpenMetadata service in stages, so each grant and filter is confirmed before the next one depends on it. Testing metadata first keeps permission problems and profiler load from surfacing at the same time.

  1. Create the Databricks service identity

    The Databricks administrator creates a dedicated service principal or service user for OpenMetadata, separate from any personal account, and generates the credentials that OpenMetadata will store. Use the auth format documented for the connector version you run, because OpenMetadata 2.0 introduced a new Databricks auth format that changes how credentials are entered. Record who owns the identity and where its secret is kept. The step is done when the identity exists in the workspace and the administrator can sign in to it with the secret that will be given to OpenMetadata.

  2. Grant catalog and schema access

    Grant the service identity USE CATALOG and USE SCHEMA on the catalogs and schemas in scope, plus SELECT or metadata visibility on the tables you want cataloged. Confirm the exact privilege names against the Databricks and Unity Catalog connector documentation for your version, since the connector reads metadata through these objects. Keep the grant list in writing so later reviewers can see that nothing broader was given. The check: run a query as the service identity against one in-scope schema and confirm the expected tables appear, and confirm an out-of-scope schema is not visible.

  3. Grant SELECT on query history and lineage tables

    Grant SELECT on system.query.history for usage, and on system.access.table_lineage and system.access.column_lineage for table and column lineage. Without these grants, metadata ingestion can succeed while usage and lineage quietly stay empty, so the grants are a separate step. Ask the workspace administrator to confirm that system tables are enabled in the workspace and that the identity can reach the system catalog. The check: query each of the three tables as the service identity and confirm rows return or an empty result without a permission error.

  4. Add the Databricks service in OpenMetadata

    In OpenMetadata, create a database service using the Databricks or Unity Catalog connector, depending on the choice made earlier in this topic. Enter the workspace host, the SQL warehouse or compute details the connector asks for, and the identity credentials, using the storage mechanism your deployment provides for secrets. Give the service a name that reflects the workspace so later lineage and ownership records stay readable. The check: the service appears in the services list with the correct connector type and no credential warnings on save.

  5. Set metadata, usage, lineage and profiler filters

    Before the first run, define include and exclude filters for databases, schemas and tables, and decide whether usage, lineage and profiler stages are enabled in the ingestion configuration. Exclude scratch, personal and temporary schemas now, since removing them later means cleaning up entities that already have owners and lineage. Keep profiler sampling and scope narrow for the first pass, and note which tables are excluded from profiling. The check: the saved configuration shows the filters you intended, and a dry review of the include list matches the schemas the data owners approved.

  6. Run a test connection

    Use the test connection action in OpenMetadata to confirm that the service can authenticate to the workspace, reach the catalogs in scope, and read the system tables granted in the earlier step. A failure here usually points to a grant, a network path or a credential format problem, and fixing it now is cheaper than debugging a failed ingestion. Record the test results, including any step that reports a permission gap. The check: every test step passes, or each remaining failure has a named owner and a fix in progress.

  7. Run a metadata-only ingestion first

    Run the first ingestion with profiling disabled, so the run only extracts schemas, tables, columns, owners, tags and the usage and lineage data the grants allow. Review the ingestion logs for skipped objects and permission errors, then spot-check a sample of tables in the OpenMetadata UI against Databricks. Confirm that lineage edges appear for a table you know has an upstream source. The check: the run completes with an acceptable error list, and the sampled tables, columns and lineage match what the data owners expect.

  8. Enable profiling after the metadata run is verified

    Once the metadata-only run is accepted, enable the profiler for a limited set of tables chosen with the data owners, and schedule it on a cadence agreed with the workspace team, since profiling runs queries against the warehouse. Watch the first profiler runs for query cost and runtime before widening the scope. Expand the profiler and data quality scope in stages rather than all at once. The check: profiler results appear for the selected tables, the workspace team confirms the query load is acceptable, and the scope is documented for the next expansion.

Grants behind usage and lineage

This table maps each Databricks system table the connector reads to the OpenMetadata feature it feeds and the SELECT grant it needs. Read it as a checklist: a missing grant rarely fails the whole run, so confirm each row separately in your workspace. The main takeaway is that metadata can load while usage and lineage stay empty, so check those outputs after the first run.

System tableFeedsSELECT grant neededWhat to check after the first run
system.query.historyQuery usage for tables and columnsYes, SELECT for the connector principalUsage counts appear on tables that were queried recently
system.access.table_lineageTable-level lineage edgesYes, SELECT for the connector principalUpstream and downstream tables show on a known pipeline output
system.access.column_lineageColumn-level lineage edgesYes, SELECT for the connector principalColumn mappings appear on a derived column you can trace by hand
Catalog and metadata readsTables, columns, owners, tagsRead access to the catalogs in scopeSchemas load even when the system tables are not readable
Profiler and data qualityProfile statistics and test resultsRead access to the profiled tablesProfile runs complete on the tables you selected
Grant syntax and principalAll of the aboveConfirm exact statements in the connector docsRun a test query as the connector principal before the first ingestion

Cataloging Databricks jobs as pipelines

The Databricks pipeline connector is a separate connector from the Databricks and Unity Catalog table connectors, and it is the one that catalogs Databricks jobs as pipelines in OpenMetadata, with pipeline status, usage and lineage. The table connectors register tables, columns, query usage and table-level lineage from the workspace. The pipeline connector registers the jobs that produce and consume those tables, so the two have to be configured and scheduled as complementary services. Plan both before the first run, because a team that only runs the table connector will see tables with no visible producer and will not know which job is responsible for a broken load.

Job-to-table lineage depends on the lineage system tables rather than on the pipeline connector alone. The table connector's lineage comes from system.access.table_lineage and system.access.column_lineage, and the job context in those records is what links a table to the job that wrote it. Confirm with your workspace administrator that the grants described for the table connector are in place before you expect job lineage to appear, and check the pipeline connector's own documentation for the exact permissions it needs to read job metadata and run status. Lineage that is missing usually reflects a grant gap or a job that writes through a path the system tables do not record, so test one known job end to end before scaling up.

Two decisions need to be made before the first ingestion. The first is pipeline service naming: choose one service name per workspace or per environment, such as separate services for development and production, and apply it consistently so that jobs do not appear twice under different names after a rename. The second is ownership: decide whether jobs are owned by the team that created them, by a platform team, or by the data domain that consumes their output, and record that in OpenMetadata before the connector runs. Ask the team that operates the workspace which owner attribute they can supply from job tags or creator fields, since ownership applied by hand later is the usual source of unowned pipelines in the catalog.

How metadata, usage and lineage flow from Databricks into OpenMetadata

The flow starts in the Databricks account, where the workspace and the Unity Catalog metastore hold table metadata and the system tables record query history and lineage. The database connector and the pipeline connector run from the OpenMetadata ingestion framework under a service identity that holds only the grants it needs. Check the grants on system.query.history and the lineage tables before the first run, because usage and lineage stay empty without them, and confirm which connector covers each asset type.

Metadata, usage and lineage move from the Databricks account into OpenMetadata through two connectors.

What maps to what in OpenMetadata

How does a Databricks catalog map to an OpenMetadata object?

In the Databricks and Unity Catalog connectors, the Databricks workspace or metastore you configure becomes an OpenMetadata database service, and the catalogs inside it are ingested as databases under that service. Schemas within each catalog then appear as OpenMetadata schemas, and tables and views become OpenMetadata tables. The exact hierarchy depends on which connector you choose, so confirm the service and database naming in the connector documentation before you build the first ingestion pipeline. Plan your service names now, because renaming them later changes how existing metadata is referenced.

Do Unity Catalog tables keep their columns, types and descriptions in OpenMetadata?

Yes. The connector extracts table and column metadata, so column names, data types and descriptions that are stored in the source appear on the matching OpenMetadata table. Column-level lineage is also supported when the lineage tables are readable, which lets you trace a column back through the queries that produced it. Descriptions written in OpenMetadata after ingestion are a separate layer, so decide which team owns each field before you start editing in the UI, or the next ingestion run may conflict with manual changes.

How are Databricks owners and tags brought into OpenMetadata?

The connector supports owners and tags as part of its covered metadata. Owners from the source are linked to OpenMetadata users or teams where a matching identity exists, and tags from the source are carried over as OpenMetadata tags. Check which owner identities match in your environment before rollout, because unmatched owners leave tables without an accountable team. Ask the implementation team to run a sample ingestion and review how owners resolved, so ownership gaps are visible before business users see the catalog.

What does auto-classification do to Databricks tables in OpenMetadata?

Auto-classification is a supported part of the Databricks and Unity Catalog connectors, and it applies classifications to columns based on their content and names so sensitive fields can be flagged. It is a starting point, not a legal finding. Expect false positives and misses, and set a review step where data owners confirm or correct tags on personal data before any access policy depends on them. Because classification may run on sampled data, confirm with your security team which schemas are allowed to be scanned and how sampling is configured.

How do Databricks jobs appear in OpenMetadata as pipelines?

Databricks jobs are not ingested by the table connectors. A separate production Databricks pipeline connector catalogs jobs as OpenMetadata pipelines, with pipeline status, usage and lineage. Each job becomes a pipeline entity that can be linked to the tables it reads and writes, which is how lineage flows from job runs into the catalog. Run the pipeline connector alongside the table connector, and check that job-to-table lineage appears for a few known jobs before you rely on it for impact analysis.

Which Databricks connector should I pick, the Databricks or the Unity Catalog one?

Choose by where your metadata is governed. The Unity Catalog connector fits workspaces that use Unity Catalog as the governance layer for catalogs, schemas and tables, while the Databricks connector fits setups where you need the Databricks source covered directly. Both are documented as production connectors with the same covered areas, so the decision is mostly about your identity model, permissions and which system holds the authoritative names. Confirm the choice with your platform team and test both against one workspace if the answer is unclear.

Can I map Databricks objects to OpenMetadata domains and glossary terms automatically?

Not from the connector facts supplied here. The connector brings in technical metadata, owners and tags, but domain assignment and glossary linking are governance steps in OpenMetadata that usually need a mapping decision from your data owners. Agree on how catalogs or schemas map to domains before ingestion, then ask the implementation team to confirm which steps can be scripted through the OpenMetadata APIs and which need manual review in the interface.

Securing the Databricks service identity

The Databricks and Unity Catalog connectors run as a service identity with read access to metadata, usage and lineage, and that identity is the main target if the catalog is compromised. The cards below cover the grants, credential storage, sampling scope and separation from people, and each one names a check to run before the connector goes into production.

Scope grants to the catalogs in use

Grant the service principal read access only to the catalogs and schemas the connector should catalog, rather than the whole metastore. Usage and lineage also require SELECT on system.query.history, system.access.table_lineage and system.access.column_lineage, so those system table grants are a separate decision. Confirm the exact privileges with the connector documentation for your Databricks version before you apply them.

Databricks connector docs

Keep the system table grants narrow

The system tables expose query text and table relationships across the workspace, which can reveal more than the catalog itself. Ask who will hold SELECT on these tables and whether a dedicated group, not an administrator role, is the right holder. Review the grant when workspaces or metastores are added.

Store the access credential in a secret store

Keep the Databricks access credential out of ingestion configuration files and version control. Use a secrets manager the ingestion runtime can read at run time, and rotate the credential on a schedule your security team sets. OpenMetadata 2.0 introduced a new Databricks auth format, so confirm the current format before you migrate an existing configuration.

Limit profiler and sample data reach

Profiling and sample data read actual rows, which is a different exposure from reading metadata. Disable sampling on tables that hold regulated personal or financial data, or restrict it to a masked or curated schema. Dynamic Sampling is the profiler default in OpenMetadata 2.0, so check that setting before the first full run.

Separate the ingestion identity from people

Do not reuse a personal Databricks account or a shared administrator token for ingestion. A dedicated service principal makes access reviews, audit log filtering and revocation simpler. Because OpenMetadata does not support combining authentication mechanisms, confirm how the connector credential and UI SSO are handled in your deployment, and test that a disabled user cannot still trigger ingestion.

Confirm the access model with your team

Before go-live, confirm with your Databricks and security teams which identity runs each connector, who can edit ingestion settings in OpenMetadata, and where run logs are kept. Write the answers into the runbook so that a credential rotation or a departing owner does not break metadata collection.

Verifying the integration before teams rely on it

Before any team relies on the catalog, run a short set of checks against your own workspace and confirm each one passes. Start with the connection test in the OpenMetadata Databricks or Unity Catalog service configuration, then confirm that the ingestion run finishes without errors for the scope you selected. Pick a small sample of tables from a schema you know well, compare the row counts you see in Databricks with what the catalog reports, and confirm the table and column names, types and owners match. A mismatch usually points to a filter, a wrong catalog name or a schema that was not included in the run.

Next, test the parts that depend on query history. Run a few known queries against a sample table and a known view in a dedicated test schema, wait for the system tables to receive the entries, then run a usage ingestion and confirm the queries appear in the table's usage view. If usage stays empty, check that the ingestion identity holds SELECT on system.query.history and that the time window in the run covers your test queries. For lineage, build a simple two-step transformation with a known source and target, then confirm table lineage and column lineage show the same mapping you wrote. Column lineage that shows only table-level edges usually means the column_lineage grant is missing or the transformation was not captured by the system tables.

Finally, review profiler output on a table with no sensitive content, such as a generated test table, and check that the row counts, null percentages and distinct counts match a manual query. Confirm that the profiler identity has only the access it needs and that the job runs on a warehouse you have sized for it, since profiling reads data. Record the results, the connector version and the ingestion settings in your change record, and ask your team to confirm each check in writing. Decide in advance what counts as a pass for usage, lineage and profiling, so the sign-off is not left to whoever looks at the screen first.

Common Databricks connection failures and fixes

This table lists the failures teams most often hit when connecting OpenMetadata to Databricks or Unity Catalog, with the likely cause and fix for each. Use it as a first-pass checklist before opening a support case. The main takeaway is that most failures trace to grants, auth format, network reachability, filters or profiler scope rather than to OpenMetadata itself.

FailureLikely causeFix
Lineage or usage is empty after a successful runThe ingestion principal lacks SELECT on system.query.history or on the system.access table_lineage and column_lineage tablesGrant SELECT on each system table the connector reads, rerun ingestion, and confirm the grants with the workspace administrator
Ingestion fails with an authentication error after upgrading to 2.0OpenMetadata 2.0 introduced a new Databricks auth format, so an older service configuration no longer matchesReview the Databricks auth block in the service definition against the 2.0 breaking-changes notes and update it before rerunning
Connection times out or cannot reach the workspaceThe ingestion host cannot resolve or route to the workspace URL, often because of egress rules, private endpoints or a proxyTest reachability from the exact host or container that runs ingestion, then work with the network team on egress rules for the workspace endpoint
Expected catalogs or schemas are missingThe include or exclude filter patterns do not match catalog names, or the principal cannot see the catalogCheck the filter patterns against exact catalog names and confirm with a Unity Catalog administrator that the principal holds the USE CATALOG and USE SCHEMA privileges
Profiler run times out on large tablesFull-table profiling runs against very large tables without sampling or table-level scopeLimit profiling to the tables that need it, configure sampling, and run profiler jobs in a window that does not compete with production workloads
Pipeline jobs appear without status or lineageThe Databricks pipeline connector is a separate service from the Unity Catalog connector, and its own credentials or scope were not setConfigure the pipeline connector as its own service with its own credentials and confirm job scope before expecting status and lineage
Column-level lineage is missing while table lineage appearsThe column_lineage system table is not readable by the ingestion principal, or lineage was produced before the grant existedGrant SELECT on column_lineage, then rerun lineage ingestion so the column graph is rebuilt

Questions teams ask before connecting Databricks

Should we use the Databricks connector or the Unity Catalog connector?

Choose the connector that matches how your metastore is organized and which permissions your workspace admins will grant. The Unity Catalog connector is the path designed around Unity Catalog governance, while the Databricks connector suits teams that need the same metadata coverage through the Databricks side. Both are production connectors in OpenMetadata and cover metadata, query usage, profiling, data quality, lineage and column-level lineage. Before deciding, confirm in the OpenMetadata Unity Catalog connector docs which catalogs and scopes each option reads, and test both against one non-production catalog so the choice rests on your own metadata.

What grants does OpenMetadata need to read usage and lineage?

Usage and lineage require SELECT on the system tables that record query history and lineage. In practice, the connector user needs SELECT on system.query.history, system.access.table_lineage and system.access.column_lineage. Metadata and profiling need separate grants on the catalogs and schemas you want cataloged. Ask your Databricks workspace admin to confirm how system tables are enabled in your account, because access to these tables depends on your account and workspace configuration. Document each grant as a decision, so your security team can review who can read query history before the connector is scheduled.

What does the Databricks pipeline connector add?

The Databricks pipeline connector catalogs Databricks jobs as pipelines, with pipeline status, usage and lineage. It is a separate production connector from the table-level connectors, so it needs its own service and its own credentials and permissions. Plan it as a second step after the metadata connector works, and confirm in the OpenMetadata Databricks pipeline connector docs which job types and lineage paths are covered in your version.

What drives the cost and effort of this integration?

Effort depends on the number of workspaces, catalogs and schemas in scope, how many grant decisions your security team must review, whether profiling and data quality tests run on large tables, and how many jobs you want cataloged as pipelines. Costs have three parts: the internal or partner time for planning and build, the compute and storage for OpenMetadata and its search and database services, and the recurring time spent on upgrades. Profiling large tables and frequent ingestion schedules raise Databricks compute use, so ask your team to size those schedules before going live. Request a quote that lists each workspace, catalog, grant set and pipeline service in scope.

How long does it take to get a first working catalog?

The first working catalog depends on how quickly your workspace admins approve grants, how fast an OpenMetadata environment is ready, and how much of your metadata you include in the first run. A single-catalog trial can be built in a short sprint once access is granted, while multi-workspace rollouts with lineage and pipeline ingestion take longer. Confirm the timeline with your team against your approval process, and agree a fixed scope and dates in writing before work starts. DeployOpen plans most engagements as fixed scope with the timeline agreed in advance.

What must our team provide before the work starts?

Three things are needed. First, a workspace admin who can create or confirm the connector identity and approve the SELECT grants on the system tables and target catalogs. Second, written grant decisions that your security owner has signed off, including which catalogs and schemas are in scope. Third, an OpenMetadata environment you control, with a database, a search service and enough compute for ingestion, plus a secrets location for Databricks credentials. Confirm the Databricks auth format for your OpenMetadata version, because the 2.0 release changed the Databricks auth format.

Can our internal team do this alone, and when does a partner help?

An internal team with Databricks administration skills and OpenMetadata operations experience can complete the connector setup alone, especially for one workspace and a small catalog set. A partner helps most when several workspaces, Unity Catalog governance, pipeline ingestion, custom profiling, or a compliance review must be delivered together, or when the team lacks capacity for upgrades and continuous operation. DeployOpen implements, hardens, documents and supports OpenMetadata inside your own infrastructure, and most engagements are fixed scope with the deliverables agreed in writing before work starts.

How DeployOpen scopes and delivers this integration

DeployOpen plans, implements, hardens, documents and supports self-hosted OpenMetadata inside your own infrastructure. For Databricks and Unity Catalog, we agree the connector choice, grants and pipeline scope in writing before any build begins, then hand over a catalog your team can run.

How we scope

  • Confirm which Databricks workspaces and Unity Catalog metastores the catalog must cover, and who owns each
  • Decide between the Databricks and Unity Catalog connectors using your workspace and metastore layout
  • Agree in writing whether Databricks jobs are cataloged as pipelines through the separate pipeline connector

How we build

  • Create the least-privilege service principal and grant SELECT on the query history and lineage system tables
  • Configure metadata, usage, profiler, lineage and data quality ingestion, then test each workflow end to end
  • Map tags, owners and auto-classification rules to your existing governance model before enabling them broadly

How we hand over

  • Document the grants, connector settings, schedules and known gaps in lineage and profiling for your team
  • Provide runbooks for rotating credentials and re-running ingestion after a failed workflow
  • Walk your data platform and security engineers through verification steps so they can repeat them independently

How we support

  • Support is available as a retainer covering upgrades, connector changes and ongoing testing of the setup
  • Review each OpenMetadata release for connector and authentication changes before you upgrade
  • Re-check grants and ingestion scope when Databricks workspaces, metastores or pipelines are added or retired

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.