Default dbt metadata
Every time Omni performs a , the following metadata is included by default:
Omni matches dbt column names to dimension names without case sensitivity. Only columns that exist in the warehouse table are updated — documenting a column in dbt does not create a dimension in Omni.
Constraints
If you have native dbtprimary_key and foreign_key constraints defined in your dbt project, you can include them in by enabling Auto-generate primary keys and relationships from dbt constraints in the connection’s dbt settings.
When this setting is enabled, dbt syncs include the following:
Only native dbt constraints are supported. Constraints defined through a package (e.g.,
Snowflake-Labs/dbt_constraints) or constraints based on data tests are not supported.Semantic layer
If you use dbt’s semantic layer, you can include the semantic layer’s metadata in in a few short steps. See Integrating dbt’s semantic layer with Omni for more information. When the semantic layer is enabled, dbt syncs include the following:
Metrics with filters will have dimensions created as those filters in Omni. These dimensions are automatically hidden and applied to the corresponding Omni measure for an equivalent calculation.
Next steps
- Troubleshoot and resolve dbt sync issues
- Learn more about dbt syncs in Omni
- Integrate dbt’s semantic layer with Omni
- Generate exposures in Omni and push to dbt

