- 2 min read
- 1 source
- Stated by the source itself
Summary
Databricks has released two new features for Unity Catalog Semantics: query-time joins and relationship constraints. These capabilities allow AI agents and business intelligence tools to discover and compose governed business metrics directly in SQL at query time, without requiring data modelers to anticipate every possible metric combination in advance. The features are now in Beta.
Key facts
- New features: Unity Catalog Semantics now includes query-time joins and relationship constraints.
- Goal: Enable AI agents to compose governed business metrics directly in SQL at query time.
- Availability: Both features are now in Beta.
- Approach: Data modelers define relationships between metric views using SQL informational constraints.
- Benefit: Agents can answer new business questions using centrally governed metric definitions without monolithic semantic models.
Details
The new query-time joins feature allows metric views to be joined with other metric views, tables, and views in ordinary SQL. The SQL engine protects measures from join-induced duplication, even across many-to-many joins, enabling metrics and dimensions from multiple data sources to be combined on the fly. Relationship constraints allow data modelers to define relationships between metric views directly in Unity Catalog using familiar SQL informational constraints. These constraints enable agents and BI tools to discover how metric views can be joined, allowing for the discovery of governed metrics at query time. This approach contrasts with traditional semantic models, which bring together tables, relationships, and metrics for a fixed set of business questions. With AI agents, the scope of analysis is increasingly determined at query time, and anticipating every combination of metrics and dimensions at modeling time would require unwieldy or redundant semantic models.
Why it matters
This development is significant for organizations adopting AI agents for data analysis. It addresses a key challenge: the need to govern and combine metrics that are defined and governed independently by different teams. By enabling agents to discover and compose these metrics at query time, organizations can maintain a single source of truth for their business definitions while still allowing for flexible, ad-hoc analysis. This could reduce the overhead of creating and maintaining overlapping semantic models, allowing data teams to focus on defining high-quality metrics rather than anticipating every possible user question.
What's next
Databricks indicates a continued commitment to openness. Users can get started by reading the product documentation for query-time joins and relationship constraints.
Sources
Original source: Databricks blog
Part of a larger trend: SQL evaluation metrics for AI agents
Related stories
Industry ·
EU and Eight Firms Launch Industrial AI and Chip Push
European leaders and major corporations announced eight new projects to boost chip design, computing infrastructure, and industrial AI capabilities.
1 source
Industry ·
Ode Launches with $1.5B to Build Applied AI for Enterprises
A new AI services firm, built on Anthropic's backing, aims to embed intelligence into legacy systems.
1 source
Industry ·
EU fines Meta up to 6% of turnover over scam ads
The European Commission warns Meta of a massive fine for failing to protect users from billions of scam ad impressions, including AI-generated content impersonating public figures.
1 source
Industry ·
Amazon Ads Executive Muthu Muthukrishnan Leaves Amid Slower
Amazon announced that Muthu Muthukrishnan, head of its sponsored products and brands business, will depart, as retail ads—responsible for most of the company's $68.6 billion 2025 ad revenue—face…
1 source
Found an error? Report it.