https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
j

Jason

12/13/2022, 9:15 AM
Hi, everyone! I had a question concerning the materialization of dbt assets and SDAs in the same job I have 2 group of assets, 1 with dbt assets and another one with SDAs that depend on the dbt assets (for instance, I have 2 dbt assets,
dbt_a
and
dbt_b
and 2 SDAs,
sda_a
and
sda_b
with
dbt_a -> sda_a
and
dbt_b -> sda_b
My concern is that when I'm trying to build a job with
define_asset_job("job", selection=AssetSelection.groups("dbt") | AssetSelection.groups("sda"))
, when a dbt materialization fails, none of the sda materialization is launched because a single step is build for all the dbt assets (I'd prefer if
sda_b
was run if
dbt_b
succeeds, even if
dbt_a
fails) Do you know if there is a way to achieve this?
❤️ 1
2 Views