Metric views ganham medidas de janela e relacionamentos no Databricks
As medidas de janela chegaram à disponibilidade geral e os relacionamentos entre metric views entraram em beta. Entenda como isso ajuda a ter um número só para o negócio.
Em uma cozinha profissional, a receita fica escrita uma vez e todo cozinheiro segue a mesma. Se cada um inventasse a sua, o prato mudaria a cada turno. Com indicadores de negócio, o risco é parecido: quando cada relatório calcula a receita ou a margem do seu jeito, a diretoria recebe números diferentes para a mesma pergunta. As metric views do Unity Catalog existem para escrever a definição uma vez e reutilizá-la em qualquer lugar.
Em 6 de outubro, as medidas de janela chegaram à disponibilidade geral nas metric views. Elas permitem agregações móveis, acumuladas e semiaditivas, como médias móveis e totais acumulados. Isso tira da mão de cada analista o trabalho de reescrever em SQL cálculos que o negócio pede o tempo todo, como o acumulado do ano ou a média dos últimos três meses.
Em 30 de outubro, entrou em beta o relacionamento entre metric views. O comando ALTER VIEW com ADD CONSTRAINT e RELATIONSHIP registra a cardinalidade e as condições de junção, para que assistentes de IA e ferramentas de BI escolham o caminho de junção correto. O recurso exige Databricks Runtime 19 ou superior, ou um SQL warehouse.
O ganho aparece principalmente em dois cenários. No primeiro, o time de BI conecta o Power BI ou outra ferramenta e encontra as métricas já definidas e as ligações já documentadas. No segundo, um assistente como o Genie responde perguntas de negócio usando as mesmas definições, sem adivinhar como duas tabelas se relacionam. Em ambos, o número que sai é o mesmo.
Como os relacionamentos ainda estão em beta, o caminho prudente é começar por um domínio pequeno, como vendas ou financeiro, definir as métricas principais com o time de negócio e testar o comportamento antes de ampliar. O trabalho mais difícil não é técnico: é chegar a um acordo sobre o que cada indicador significa.
Fonte: notas de versão do Databricks, outubro de 2026.
A Maraca Hub, parceira oficial da Databricks e especialista na plataforma, ajuda empresas a transformar novidades como essa em ganho prático, do desenho da arquitetura e da governança ao treinamento dos times. Se a sua empresa quer entender o que adotar agora e o que esperar, vale uma conversa.
Metric Views Gain Window Measures and Relationships in Databricks
Window measures reached general availability and relationships between metric views entered beta. Understand how this helps the business have a single number.
In a professional kitchen, the recipe is written once and every cook follows the same one. If each cook invented their own, the dish would change with every shift. With business indicators, the risk is similar: when each report calculates revenue or margin its own way, leadership receives different numbers for the same question. Unity Catalog metric views exist to write the definition once and reuse it anywhere.
On October 6, window measures reached general availability in metric views. They allow rolling, cumulative and semiadditive aggregations, such as moving averages and running totals. This takes from each analyst the work of rewriting in SQL calculations the business asks for all the time, such as the year-to-date total or the average of the last three months.
On October 30, relationships between metric views entered beta. The ALTER VIEW command with ADD CONSTRAINT and RELATIONSHIP records join cardinality and conditions, so that AI assistants and BI tools choose the correct join path. The feature requires Databricks Runtime 19 or higher, or a SQL warehouse.
The gain shows up mainly in two scenarios. In the first, the BI team connects Power BI or another tool and finds the metrics already defined and the links already documented. In the second, an assistant like Genie answers business questions using the same definitions, without guessing how two tables relate. In both, the number that comes out is the same.
Since relationships are still in beta, the prudent path is to start with a small domain, such as sales or finance, define the main metrics with the business team and test behavior before expanding. The hardest work is not technical: it is agreeing on what each indicator means.
Source: Databricks release notes, October 2026.
Maraca Hub, an official Databricks partner and specialist in the platform, helps companies turn news like this into practical gains, from architecture and governance design to team training. If your company wants to understand what to adopt now and what to wait for, a conversation is worthwhile.