Is there a way to notify dagster that an asset mat...
# dagster-feedback
t
Is there a way to notify dagster that an asset materialization is missing, e.g. I am writing it to s3 into a bucket that is set to delete everything older than x weeks -> dagster somehow recognizes that it has to rematerialize the asset.
a
You can check the existence of the output with an asset reconciliation sensor
j
hey @Tobias Pankrath we dont have anything built in that would allow for checking this. However, you could look into adding freshness policies to your assets. since your know the contents of the bucket gets deleted each week, adding a freshness policy would ensure that the asset gets run each week to regenerate the asset https://docs.dagster.io/guides/dagster/scheduling-assets#step-3-introduce-freshness-policies https://docs.dagster.io/concepts/partitions-schedules-sensors/asset-sensors#freshness-policy-sensors
t
hi, thanks for the answer, but it's not really a solution. I wasn't thinking about regenerating it once it get's deleted, but once a downstream asset requires it for it's materialization. It's not really a problem I have now, I was just curious. Thanks!