https://dagster.io/ logo
#dagster-support
Title
# dagster-support
c

Casper Weiss Bang

02/01/2023, 10:09 AM
Is it possible to add dependencies to SourceAssets? Our underlying data looks something like raw -> cleaned -> dataproduct. Raw and dataproduct are both tables, but the
cleaned
is merely a view on raw that is created in a notebook. I'd like to create the dependencies in dagster though. So if
raw
is newer than
dataproduct
it'll be marked as stale, but i don't want
cleaned
to be an actual asset that dagster thinks it needs to materialize, because it isn't. My current best bet is to create an asset that has a no-op
j

jamie

02/01/2023, 4:56 PM
Hi @Casper Weiss Bang dependencies to source assets isn’t supported right now. Feel free to open a github feature request though!
c

Casper Weiss Bang

02/02/2023, 5:51 AM
cool cool. I'm not sure that would give me the stale-status through. I've done it with what i called a
faux_asset
- which still has to be materialized, but is materialized instantly. And i'll just make it update automatically when it's dependencies materialize.