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

geoHeil

03/14/2023, 8:20 AM
For the observable source assets https://docs.dagster.io/concepts/assets/asset-observations#observable-source-assets how can I combine an automatic observation like a sensor with them? The documentation seems to only show the refresh sources button. In particular - how does this go well with DBT?
s

Sean Lopp

03/14/2023, 1:09 PM
@geoHeil adding support for observable source assets to the reconciliation sensor is planned. @sandy would have the best details on the timeline. Assuming your dbt models managed by dagster are downstream of an observable source asset, an updated “observation” would lead to a dbt run
🌈 3
❤️ 2
D 2
s

sandy

03/22/2023, 11:48 PM
@geoHeil - as of today's release, you can now schedule observations of source assets: https://docs.dagster.io/concepts/assets/asset-observations#observable-source-assets
g

geoHeil

03/27/2023, 7:55 PM
I will need to try this soon
What is the reason for: NOTE: Currently, source asset observations cannot be run as part of a standard asset job that materializes assets. The
selection
argument to
define_asset_job
must target only observable source assets-- an error will be thrown if a mix of regular assets and observable source assets is selected. ?
s

Sean Lopp

03/28/2023, 12:54 PM
@geoHeil this is a limitation as the feature is being fully implemented. Today you can use two schedules (1) a schedule for observations that marks downstreams stale (2) a schedule for assets that launches RunRequests with
stale_assets_only
Soon we will support combining observations and downstream materializations more directly via schedules or a reconciliation sensor