Commands execution logic
Paradime follows a specific execution logic to handle errors and decide whether later commands run:- Command completes with an error: by default, the remaining commands in the schedule are skipped. Use Continue on error to change this.
- Exceptions that still run after an error:
- Source freshness and source status: if a
dbt source freshnesscommand errors and the next command uses thesource_status:fresherselector, the next command still runs. - Elementary: an Elementary command runs regardless of a previous error, so you can send alerts and generate reports on test failures.
- Monte Carlo: a Monte Carlo command runs regardless of a previous error, so dbt™ artifacts are always uploaded.
- Source freshness and source status: if a
Continue on error
You can override the default skip behavior at two levels in the Commands section of the schedule form:- Schedule level: turn on the Continue on error toggle to keep running the remaining commands when one fails. The run is still reported as failed.
- Per command: each command row has a select with three options: Default (inherit the schedule-level setting), Continue (keep going even if this command fails), or Stop (skip the remaining commands if this command fails).
dbt test while still stopping the pipeline if dbt run fails.
Define this as code
Set
continue_on_error at the schedule level or per command in paradime_schedules.yml.