Comparisons · Analytics engineering and transformation
Decim vs dbt: transformation intent, runtime evidence
dbt helps teams build, test and document SQL transformations. Decim investigates incidents when the explanation depends on what changed and what each step actually did when it ran.
Decim and dbt: the short answer
dbt builds, tests and documents SQL transformations. Decim investigates why a pipeline produced a wrong result, from its code, commits and step-by-step logs.
dbt is a strong fit for developing and governing warehouse transformations. Decim is a complementary investigation surface for incidents that cross repositories, services, schedules and run logs.
| Dimension | Decim | dbt |
|---|---|---|
| Primary question | Why did this pipeline run produce this result? | How should transformations be developed, tested and documented? |
| Starting point | A known incident or unexpected result. | A project, model change, test or deployment workflow. |
| Relationship to the code | Reads pipeline code in a connected GitHub repository — a dbt project included — as evidence, alongside run logs. | Is where the transformation code is written and compiled. |
| Evidence Decim reads today | Code, commits and pull requests from GitHub; entries from Google Cloud Logging; a linked Jira ticket; attached files; optionally Windows files and Event Logs via the agent. | Project context and transformation metadata. |
| Best use together | Investigate failures that remain after transformation context is known. | Develop, test and document transformation intent. |
Choose dbt for transformation development
When the problem is making warehouse logic understandable and testable, dbt owns it.
dbt is built around analytics engineering: transformations as project code, documented dependencies and tests that make assumptions visible. That context is valuable for anyone responsible for warehouse models. Decim does not replace that workflow. The question to ask first is whether you need to build and govern transformations, or investigate a specific incident whose cause may reach beyond them.
Choose Decim when the cause crosses boundaries
The model can be correct and still be fed the wrong input.
An incident can persist after the transformation logic checks out: an upstream extract changed, a stored procedure's default parameter dropped a currency, a scheduled job called a step without an argument. Decim discovers pipelines from code in GitHub in any language — a dbt project in a connected repository is read like any other code — and during an investigation reads each suspect step's logs, compares them with successful runs up to 30 days back, and ties the difference to the commit that introduced it.
Use dbt context to make the investigation sharper
Transformation metadata says what should happen; runtime evidence says what did.
A team can start from a failing dbt test or a suspected model change and open a Decim incident with that context. Decim then checks whether the model change explains the full symptom or whether something upstream fed it the wrong data. dbt run artefacts are not read by Decim today, but a run_results.json can be attached to the incident as evidence; a dedicated dbt integration is planned.
Related guides
- Airflow vs dbt: how an orchestrator and a SQL transformation framework divide the work, how they run together, and how each one fails.
What Decim does once an incident is open
The same five phases on every incident, shown as a timeline in the admin. This is the part of the workflow that begins where dbt hands over.
- 1
Locate
Decim ranks the pipelines it discovered in your GitHub repositories against the incident description and any linked Jira ticket, and cites the code — file and line range — that made the match. If nothing matches well enough, it asks for more context instead of guessing.
- 2
Read the logs, step by step
The most suspicious steps are walked first. Each step's logs are pulled from Google Cloud Logging or, on Windows hosts, through the optional agent, within fixed limits on requests, bytes and model calls. The failing run is compared with successful runs up to 30 days back, and each step ends as looked fine, found something, or an honest gap such as no logs.
- 3
Weigh explanations
Up to five competing hypotheses, each with a confidence, evidence for and against, the code involved and the tests that would settle it. An independent critique pass challenges them. Revisions are numbered, and rejected hypotheses are kept with the evidence that ruled them out.
- 4
Settle it
When the deciding evidence is somewhere Decim cannot read — typically a database — it writes a check for a person to run: a read-only SQL query validated against a read-only allowlist and never executed by Decim, a file to fetch, or guided steps. The result goes back in and triggers a new revision.
- 5
Conclude, then fix
A cause is confirmed only with corroborating evidence: Cause found, Likely cause, Cause unclear or Needs log access. A fix can be a repository patch checked to apply cleanly, an SQL repair for your team to run, or both; one click opens a draft pull request on GitHub. Nothing is merged automatically.
Common questions
Is Decim a replacement for dbt?
Can Decim read my dbt project?
Which tool should own transformation tests?
Can Decim investigate pipelines that also use dbt?
Do I need Airflow if I use dbt?
Get started
Compare from a real incident
Bring a pipeline incident and the tools you already use. We will separate detection from investigation, and show where dbt and Decim each fit.