Skip to content

Commit

Permalink
Update validation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Aug 5, 2024
1 parent 7f1df6b commit 7327281
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions website/docs/docs/build/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Note, in dbt Cloud you don't need to validate the Semantic Layer config separate
mf validate-configs # dbt Core users
```

You can run semantic validations in a CI job to guarantee any code changes made to dbt models don't break these metrics. For more information, refer to [semantic validation in CI](/docs/deploy/ci-jobs#semantic-validations-in-ci).

## Parsing

In this validation step, we ensure your config files follow the defined schema for each semantic graph object and can be parsed successfully. It validates the schema for the following core objects:
Expand All @@ -48,9 +46,10 @@ This validation step occurs after we've built your semantic graph. The Semantic

## Data platform

This type of validation Checks to see if the semantic definitions in your semantic graph exist in the underlying physical table. To test this, we run queries against your data platform to ensure the generated SQL for semantic models, dimensions, and metrics will execute. We run the following checks
This type of validation checks to see if the semantic definitions in your semantic graph exist in the underlying physical table. To test this, we run queries against your data platform to ensure the generated SQL for semantic models, dimensions, and metrics will execute. We run the following checks:

* Check that measures and dimensions exist
* Check that underlying tables for data sources exist
* Check that the generated SQL for metrics will execute
* Measures and dimensions exist
* Underlying tables for data sources exist
* Generated SQL for metrics will execute

You can run semantic validations in a CI job to guarantee any code changes made to dbt models don't break these metrics. For more information, refer to [semantic validation in CI](/docs/deploy/ci-jobs#semantic-validations-in-ci).

0 comments on commit 7327281

Please sign in to comment.