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

Brian Stroh

01/11/2023, 11:41 PM
Hi All, I'm running into an issue where dagster is throwing this error for me:
Copy code
dagster._core.errors.DagsterInvalidDefinitionError: Assets can only depend on themselves if they are time-partitioned and each partition depends on earlier partitions
I have a dbt source table and a downstream dbt model with the same name. Outside of dagster, this works for me because one database is dedicated to source tables and another database is dedicated to all of the models. Has anyone else run into this issue?
s

sandy

01/12/2023, 12:35 AM
Hi Brian - could you use the
node_info_to_asset_key
argument on
load_assets_from_dbt_project
to make sure that they end up with different asset keys?
ty spinny 1
b

Brian Stroh

01/12/2023, 3:23 PM
That did the trick - thank you!
62 Views