Skip to content

How to trigger downstream dbt assets for multiple upstream multi_assets with is_required=False? #18667

Answered by OwenKephart
TyShkan asked this question in Q&A
Discussion options

You must be logged in to vote

@TyShkan Unfortunately this is a limitation of the current implementation -- the core execution logic will never start a downstream step if any of the upstream steps did not return a result.

One potential workaround would be to split your single dbt_assets method into multiple (ideally separated by which assets they're downstream of, although depending on the shape of your graph this may not be possible). This way, if one upstream asset is skipped, only the dbt assets downstream of it would actually be materialized.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@OwenKephart
Comment options

Answer selected by TyShkan
@TyShkan
Comment options

@OwenKephart
Comment options

@the4thamigo-uk
Comment options

@emirkmo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
integration: dbt Related to dagster-dbt
7 participants