important-island-7384
07/23/2019, 7:08 PMmeltano elt
. When I run into an error during the transformation I'm still getting back a success exit status from Meltano.fierce-honey-5880
07/25/2019, 12:12 PMmeltano elt
runs.
That means that, as long as the Tap|Target pipeline successfully completes and dbt runs, we always complete successfully even when dbt returns 1 (at least one handled error by dbt - i.e. some models may have been skipped) or 2 (unhandled error - eg. ctrl-c, network interruption, etc)meltano elt
not running the transforms by default for a couple versions now, that means that dbt only runs intentionally.
So, I think that we should update how we treat dbt exiting with an error code, return an error exit code and report back to the user that the ELT was unsuccessful.
The dbt transforms are a core part of the pipeline and if they fail, something will be missing or will not be properly updated in the analytics
schema.
So this seems like something we should communicate to whoever is calling meltano elt
(either the user, a script or airflow) and not exit with 0 (success)
What do you think @echoing-needle-59281?echoing-needle-59281
07/25/2019, 2:33 PMfierce-honey-5880
07/25/2019, 2:34 PMechoing-needle-59281
07/25/2019, 2:36 PMimportant-island-7384
07/25/2019, 3:31 PMmeltano invoke
when using dbt as well.