Skip to content

Fix metric-views dashboard table resolution and warehouse filter source#29

Open
dawidstruzik wants to merge 2 commits intodatabricks-solutions:mainfrom
dawidstruzik:fix/metric-views-dashboard-schema-resolution
Open

Fix metric-views dashboard table resolution and warehouse filter source#29
dawidstruzik wants to merge 2 commits intodatabricks-solutions:mainfrom
dawidstruzik:fix/metric-views-dashboard-schema-resolution

Conversation

@dawidstruzik
Copy link
Copy Markdown

@dawidstruzik dawidstruzik commented Mar 1, 2026

Summary

Fix two runtime issues in knowledge-base/metric-views dashboard datasets.

Fixes

  1. Use unqualified table names in dashboard SQL so catalog and schema come from dashboard resource settings.
  2. Change the warehouse filter source from dim_warehouse to dim_compute.

File changed

  • knowledge-base/metric-views/src/dbsql_metrics.lvdash.json

Result

  • Prevent wrong schema resolution from stale hardcoded defaults.
  • Fix TABLE_OR_VIEW_NOT_FOUND for dim_warehouse.
  • Keep dashboard JSON valid.

@dawidstruzik dawidstruzik changed the title Fix metric-views dashboard dataset resolution and warehouse filter source Fix metric-views dashboard table resolution and warehouse filter source Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant