Jonathan Mak
07/30/2021, 2:15 PM--full-refresh
when using dagster-dbt?
I tried to do something like
context.resources.dbt.run(models=[m], full_refresh = full_refresh)
And got the run command compiled but I get this error when it actually tries to run
dagster_dbt.errors.DagsterDbtCliFatalRuntimeError: Fatal error in the dbt CLI (return code 2)
Emily
07/30/2021, 2:23 PMJonathan Mak
07/30/2021, 2:34 PM/Users/jonathan.mak/github/dagster/venv/bin/dbt --log-format json run --project-dir /Users/jonathan.mak/github/dagster/geografisk --profiles-dir /Users/jonathan.mak/github/dagster/ --models staging.manual --full-refresh
This runs normally locally but not on Dagster (also run locally)dagster-dbt
to run with --full-refresh
?Emily
07/30/2021, 2:38 PM/Users/jonathan.mak/github/dagster/venv/bin/dbt
ours starts like
dbt --log-format json run ...
Jonathan Mak
07/30/2021, 2:43 PM--full-refresh
full_refresh = ' '
but should have done
full_refresh = True
Abednego Santoso
01/26/2022, 7:21 AM