dbt-databricks icon indicating copy to clipboard operation
dbt-databricks copied to clipboard

feature: Metric views

Open benc-db opened this issue 11 months ago • 1 comments

Description

Adds initial implementation of UC metric views as a materialization

Checklist

  • [ ] I have run this code in development and it appears to resolve the stated issue
  • [ ] This PR includes tests, or tests are not required/relevant for this PR
  • [ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

benc-db avatar Dec 16 '25 22:12 benc-db

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  dbt/adapters/databricks
  impl.py 920-926, 937-943, 1162, 1170, 1176-1184
  relation.py 57, 127, 131, 135
  dbt/adapters/databricks/relation_configs
  metric_view.py
Project Total  

This report was generated by python-coverage-comment-action

github-actions avatar Dec 16 '25 22:12 github-actions

@ericj-db Any update on this feature? :pray:

alxsbn avatar Jan 07 '26 13:01 alxsbn

Is there an estimated timeline for when this will be available as a feature in dbt? At the moment, we're creating Databricks Metric views directly in Databricks, but we're losing lineage information for the Metric view.

mohitk1994 avatar Jan 20 '26 18:01 mohitk1994

Any timeline when this will available ?

Looking to get an alpha together next week. Still discussing with dbt Labs about when to release our 1.12.0

benc-db avatar Jan 20 '26 18:01 benc-db

Any timeline when this will available ?

Looking to get an alpha together next week. Still discussing with dbt Labs about when to release our 1.12.0

Thank you, this is very helpful. We are looking forward to it.

mohitk1994 avatar Jan 20 '26 18:01 mohitk1994

@sd-db I updated to include alter semantics per internal PRD discussion. Ready for final code review.

benc-db avatar Jan 21 '26 21:01 benc-db

When is this expected to be released? Excited to try it out!

rubanolha avatar Apr 13 '26 16:04 rubanolha

When is this expected to be released? Excited to try it out!

Alpha release is already out. GA we are targeting late April/early May (1.12 release)

sd-db avatar Apr 15 '26 14:04 sd-db