[RFC] Integrating dbt tests with asset checks #16527
Replies: 4 comments 9 replies
-
I am still running into problems https://dagster.slack.com/archives/C04CW71AGBW/p1696322718554279 for setting this up. @rexledesma |
Beta Was this translation helpful? Give feedback.
-
I'm also running into the problem. I did add
|
Beta Was this translation helpful? Give feedback.
-
Is there a way to make DBT test/asset checks non-blocking? In all of our current test, the pipeline get halt if a test fail. |
Beta Was this translation helpful? Give feedback.
-
This feature appears to rely on using manifest.json schema v9 or above. I am using dbt-sqlserver, so I am still on dbt-core 1.4.9 with schema v8. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Important
Dagster asset checks are currently an experimental feature, and the API may change in future releases.
Related discussions: #15880, #16266
You can check the following resources for information on the new APIs:
For a previous history of the RFC, see below.
[RFC] Integrating dbt tests with asset checks
Summary
As a follow-up to the experimental release of asset checks in our
dagster==1.4.11
release, we have included an experimental implementation of asset checks for dbt tests out of the box.We'd love to get your feedback after trying these out!
Requirements
dagster-dbt
API's released indagster-dbt>0.20.0
:DbtCliResource
.@dbt_assets
.dagster-dbt>=0.20.13
to enable this feature.dbt_project.yml
, then recompile your dbt manifest:dbt test
ordbt build
in the body of your computation.Examples
Below, we show correct and incorrect examples of API usage, as well as sample screenshots of the integration on dbt's
jaffle_shop
.Correct Examples
Incorrect Examples
Screenshots
As an example, here is how the Dagster UI looks with asset checks enabled on dbt's
jaffle_shop
.Beta Was this translation helpful? Give feedback.
All reactions