Support enable upstream sensor for dbt assets
See original GitHub issueWhat’s the use case?
Currently, dagster_dbt does not have the built-in option to load dbt assets that listening to their upstream assets (in and out of dbt graphs). This option will unify the Dagster SDA + dbt experience as the data flow will be based entirely on asset-sensor pattern.
For ex, we may have this additional flag:
load_assets_from_dbt_project(..., update_with_upstream=True)
More info: https://dagster.slack.com/archives/C01U5LFUZJS/p1659067614814969
Ideas of implementation
General ideal is to traverse through the dbt graph and configure the sensor for each node.
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
make build_asset_reconciliation_sensor work with partitions
sryza added sensors asset-defs partitions labels 19 days ago ... Support enable upstream sensor for dbt assets #9886.
Read more >dbt + Dagster
Dagster has built-in support for loading dbt models, seeds, and snapshots as software-defined assets, enabling you to: Visualize and orchestrate a graph of ......
Read more >Dagster + Airbyte + dbt: How Software-Defined Assets ...
A software-defined asset is a Dagster object that couples an asset to the function and upstream assets that are used to produce its...
Read more >SFTP sensor - Georg Heiler
Even a data pipeline following the principles of the modern data stack (which often uses data assets defined by DBT using SQL in...
Read more >upstream_prod - dbt - Package hub
packages: - package: LewisDavies/upstream_prod version: 0.1.1. Run dbt deps to install the package. For more information on using packages in your dbt ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @nvinhphuc! You could build a simplified version of this using the multi asset sensor.
For example, given a list of asset keys to materialize when upstream partitions are available, the sensor below will update a partition when any of its upstream partitions have new materializations.
This feature is experimental, so we welcome any feedback!
@nvinhphuc I filed an issue to track this: https://github.com/dagster-io/dagster/issues/9988. We’re hoping to get it done in the next 6 weeks.