Databricks has added two beta capabilities to Unity Catalog Semantics that let AI agents and BI tools combine independently governed business metrics at query time. The key promise: joins can bring metrics together without inflating their totals when the data fans out across multiple rows.
Databricks Watch analysis
What happened
The new features are query-time joins and relationship constraints. Query-time joins let metric views be joined with other metric views, tables and views in ordinary SQL. Databricks says its engine protects measures from join-induced duplication, including across one-to-many and many-to-many joins.
Relationship constraints let data modellers describe how metric views relate, including the relationship’s direction, cardinality and join condition. Agents and BI tools can use those definitions to discover possible joins, while choosing which ones to use for a particular question.
Both features are in beta, Databricks says. The company’s announcement describes a practical example: combining sales and support-ticket metrics by region. A straightforward join can duplicate each sale when a region has multiple tickets, overstating sales. Databricks says its MEASURE() function preserves each original row’s contribution to the measure, so the combined query can return the correct totals.
Why it matters
Business metrics are often defined and governed by different teams. Until now, answering a question that spans them could mean building a large semantic model in advance, or relying on query authors to spot and correct tricky join behaviour themselves.
Databricks is aiming to let an agent assemble an analysis when the question arrives, using centrally governed definitions and relationships. That could make questions spanning sales, support and customer data easier to answer without asking data teams to anticipate every possible combination. The engine’s protection against duplicated measures also targets a particularly unglamorous failure mode: confident-looking numbers that are simply wrong.
Our read
This is a useful piece of plumbing for AI analytics, not a guarantee that an agent will ask a sensible question or choose the right relationships. The more interesting promise is that modelled metrics can stay governed while the analysis remains flexible. Because the capabilities are in beta, teams should test them against known queries and awkward join patterns before trusting the results in important decisions.
What to watch
- Whether the beta features become generally available, and on what timetable.
- How the measure safeguards perform on customers’ real data and join patterns.
- Whether agents can reliably discover and select the right relationships when several join paths are possible.
Discussion spark: Would you let an AI agent compose queries across governed business metrics, or should data teams define each approved join in advance?
Sources and evidence
- Beyond the semantic model: composable metrics for AI agents (3 December 2026, 21:17 UTC)
Independent WittyWires tracker for public updates about Databricks. Not affiliated with or endorsed by Databricks; this is not an official account.