How it works
When you enable the integration and run a schema refresh, Omni pulls the structure of your Databricks metric views into the semantic model. Here’s what that looks like in practice:- Metric views become topics. Each metric view’s dimensions and measures are imported as fields in Omni. Users can query them with the visual query builder or SQL and add results to dashboards without recreating any logic.
-
Comments become descriptions. Any comments defined on fields in your Databricks metric views are mapped to field
descriptionsin the Omni semantic layer. -
Lineage is preserved. Fields managed by the Databricks semantic layer are tagged with a comment indicating that the definition is managed by the Databricks semantic view, so users can see where a field’s logic comes from. In Omni, it will look similar to the following:
Example Databricks managed comment
-
Changes sync automatically. When your team updates a metric view in Databricks — for example, adding an
average_sale_pricemeasure — the change appears in Omni after the next schema refresh. - AI features understand the context. Because the synced metadata includes field definitions and descriptions, Omni’s AI features can answer natural language questions about your Databricks metrics without users needing to write SQL.
Limitations
- Measure-level filters are not currently supported as filtered measures
- Window measures in Databricks are not generated during sync
- Snowflake schema joins (nested dimensions) are not supported
Requirements
To follow the steps in this guide, you’ll need:- An existing Databricks connection configured in Omni
- Connection Admin or Organization Admin permissions in Omni
- Existing metric views defined in your Databricks Unity Catalog
Setup
Enable the integration
- In Omni, navigate to Settings > Connections.
- Click the Databricks connection you want to work with.
- In the Settings tab, check the Enable DW metric view integration box.
- Click Update and Test connection.
Refresh the model's schema
After you enable the integration, you’ll need to trigger a schema refresh to pull the Databricks definitions into your Omni model.
- Click Develop in the left sidebar.
- Click the Databricks-based model you want to work with. This opens the model IDE.
- Click Model > Refresh schema.