Rob Martorano
03/12/2023, 9:50 PMdbt ${run/build/test} --project-dir ... --profiles-dir ... --defer --state target/prod --target local --target-path target/local --select ...
This essentially materializes all the selected assets, and uses the local version of deps when available, else uses the prod version.
It would nice to mimic this with dagster locally, especially when working with models that rely on an upstream dbt asset. In dagster world it seems like we'd need to have --defer
and --state
added as options to dbt_cli_resource
in order to accomplish something similar when running locally? Are there other options? Would adding those be something feasible?Adam Bloom
03/12/2023, 10:00 PMRob Martorano
03/12/2023, 10:15 PMgeoHeil
03/13/2023, 7:23 AM