创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Databricks新增查询时指标组合功能

AI 总结

Databricks Blog宣布Unity Catalog Semantics新增两项功能。指标视图现在可在查询时通过普通SQL与其他指标视图、表和视图连接;SQL引擎可防止连接引入的度量重复,包括多对多连接产生的重复。数据建模人员还可在Unity Catalog中直接定义具名且有方向的关系约束,使AI智能体和BI工具能够发现各指标视图之间的关系,并为独立治理的指标视图生成连接。在指标视图源中使用SQL连接来定义更灵活的多事实指标仍待推出。

深度见解

这些功能使AI智能体能够在查询时通过普通SQL组合独立治理的业务指标,同时保留受治理的度量逻辑,并防止连接导致聚合重复。关系约束还为AI智能体和BI工具提供了发现独立治理指标视图之间关系的方式。

Traditional semantic models bring together the tables, relationships, and metrics needed to answer a set of business questions. This approach has worked well for BI, where the scope of analysis is often known when a model is built. But with AI agents, the scope of analysis is increasingly determined at query time. Users can ask questions spanning sales, support tickets, and product usage, even when the corresponding metrics are defined and governed independently by different teams. Anticipating every combination of metrics and dimensions at modeling time would require either unwieldy semantic models or a proliferation of redundant ones.

At Databricks, we’re taking a different approach to semantic modeling. In April, we released Unity Catalog metric views, a SQL-first way to define and govern business metrics. Since then, many customers have adopted metric views as the foundation of their semantic layer.

Today, we're excited to announce two new features in Unity Catalog Semantics that enable agents to compose independently governed metrics directly in SQL at query time:

  • **Query-time joins.**Metric views can now 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, allowing metrics and dimensions from multiple data sources to be combined on the fly. To learn more about query-time joins please read the product documentation.
  • Relationship constraints. Using familiar SQL informational constraints, data modelers can now define relationships between metric views directly in Unity Catalog. Agents and BI tools can discover these relationships and use them to generate joins across independently governed metric views. To learn more about relationship constraints joins please read the product documentation.

#Databricks#Unity Catalog Semantics#Unity Catalog metric views#Databricks Genie#Tableau#Power BI

原文约 13 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。