A pipeline is a judgment about your data, written down so it can be read, rebuilt, and traced.
Every figure your company relies on passes through rules someone wrote about which rows count, which copy wins, and what a value means. We keep those rules as one declared definition that your people read and change, and that each build follows and records.
Leave out lines with status
Preview at this step
- 1041SHIPPED
- 1042CANCELEDLeft out
- 1043RETURNED
- 1044SHIPPED
- pipelineclean_order_lines
- inputsorder_lines, products
- castqty integer, unit_price decimal, order_date date
- filter
- dedupeorder_line_id, last by updated_at
- joinproducts on product_id
- deriveline_amount = qty * unit_price
- outputorder_line, an object type
- checksunique(order_line_id), not_null(order_id)
Traced back from Net sales, each part at the version it read, down to the step that decides which lines count.
Change the step in either view, or let a new version of Shipments arrive. Press an output or a metric to trace it back.
Every figure your company reports rests on rules someone wrote, and few companies can read them in one place.
The figure nobody can explain is usually where two copies of one rule parted.
Between what your systems send and what your managers read stand many small decisions, such as which lines count as a sale, which of two duplicates wins, and whether a blank quantity means zero or unknown.
In most companies they live in spreadsheet formulas, report definitions, and scheduled scripts, each kept by whoever wrote it. When finance and sales bring different figures for the same month, the difference is usually two versions of one rule, and finding it means reading every copy.
We hold that a rule deserves trust when someone other than its author can read it, its history is kept, its result can be rebuilt, and a figure can be traced back through it. Each of those needs the rule in a single stored form.
We keep each rule once, and your analysts and engineers change the same definition.
A pipeline names what it reads, the steps that act on it, and what it writes. An analyst changes it on a canvas, with a preview of the rows at each step, and a data engineer changes the same definition as code, in SQL or in Python where a form cannot say it. The machine above is one pipeline, and an edit in either view moves both.
A change is proposed on a branch, with the difference, the outputs it will rebuild, and a preview of the rows. Once a reviewer approves it, it applies as a named version, and the person who approved it answers for the rule it wrote.
Nobody keeps a private copy, so the rule your people read is the rule that runs.
A change rebuilds only what depends on it, and each result can be made again from what it read.
A result depends on nothing but its definition and the versions it read.
Pipelines read one another's outputs, so together they form a graph. When a rule changes or a source sends a new version, a build reaches only the pipelines that have gone stale and rebuilds each one whole, from inputs at stated versions. A new rule for order lines rebuilds them and what reads them, and leaves the shipments alone.
So a figure can be made again later from the versions it read, and the same versions give the same figure. A step that would break that, such as a random value or duplicates removed without an order, is refused before it runs.
A build that fails leaves your people on the last figures that passed.
No report shows a build halfway, with one output rebuilt and the one beside it not.
A build writes its outputs as new versions nobody reads yet, runs its checks on them, and then makes them visible together. If a step or a blocking check fails, none of them becomes visible, every reader stays on the last good version, and an alert names the check that held it.
Most failures stop earlier. The definition is read step by step before anything runs, so a missing column, a type that no longer fits, or a step that would make two builds differ is refused at its step. Rows that will not convert go to the rejects beside the output, with the step and the reason.
Nobody draws the lineage by hand. Each build reports it, so the graph describes what actually ran.
Any figure can be traced back to the rows it counted and the rule that counted them.
Each build reports what it read, what it wrote, and how its checks ended, and from those reports we keep one graph that runs back through each pipeline to the sources under every metric, app, and action. Press Net sales in the machine above, and it lights the way back.
When a number is questioned, an auditor follows that path to the versions of the order lines it counted and to the definition, at its version, that decided which counted. A data engineer reads the same graph forward to see what a change will touch, and it carries the marking of sensitive data into what is built from it, as Data governance explains.
Each operation writes its own judgments, and the form stays the same.
A plant decides which batch records count once quality has held them, a logistics desk decides which of two scans of a pallet is its arrival, an insurer decides when a reopened claim is the same claim, and a retailer decides whether a return belongs to the day of the sale or the day it came back.
The steps differ, and the questions repeat, about what counts, which copy wins, and when two records are the same thing. That last question goes on to entity resolution. A language-model step classifies free text row by row inside the same definition, and inputs that stream, or builds that process only what arrived, extend the same form.
A pipeline reads what Data integration keeps as it arrived, and what it writes becomes the model of your business, the metrics defined on it, and the apps where people decide.
A pipeline carries out its author's judgment, including a wrong one.
A wrong rule runs faithfully. If the filter leaves out returns that finance counts, every build applies that choice without complaint, and the checks pass as long as the rows are well formed. Checks test what someone thought to test.
- A rebuild reproduces a result without making it right. The same versions give the same figure, and whether it was the right figure is for the owner of the definition to answer.
- A full rebuild costs time and compute in proportion to the data it reads, and on large inputs that cost decides how often a build can run.
- A meaning that changes at the source passes through. A column that keeps its name and changes what it counts passes every step, until a profile or a check on its range brings it to a person.
- Lineage covers what runs here. A figure exported and recomputed in a spreadsheet no longer points back.
Read a whole definition, line by line, with what each line means.13 lines
The definition clean_order_lines
pipeline clean_order_lines
Before anything runs, the compiler reads the definition and carries the schema from step to step without reading data, so a broken definition is refused at its step. The positions of the boxes on the canvas are stored beside it and ignored by what runs it.
inputs order_lines, products
A dataset as it arrived, or the output of another pipeline, read at a stated version and never through a connection.
cast qty integer, unit_price decimal
A value that does not convert goes to the rejects, goes on empty, or fails the build, as the step says. The rejects keep the original value.
filter status not in ('CANCELED')
A step casts, renames, filters, joins, stacks, aggregates, removes duplicates, or derives a column from an expression. What a form cannot hold is a SQL step in the same graph, and Python steps take the work SQL expresses badly.
dedupe order_line_id, last by updated_at
Without an order, two builds could keep different rows, so the compiler refuses the step. It refuses a random value, or a clock the step does not declare, for the same reason.
join products on product_id
The preview warns at this step when one side matches more rows than the step allows, before a build runs.
output order_line, an object type
A dataset, an object type in the model of your business, or a link between two object types.
checks unique(order_line_id), not_null(order_id)
A unique key, no nulls, a row count within bounds, a schema, and freshness. One that blocks stops the commit, one that warns raises an alert, and a check on the share of rejects can hold the build.
schedule when order_lines has a new version
Daily at an hour, when a new version of an input arrives, or by hand.
What one build records clean_order_lines, definition 8
reads order_lines v41, products v9
Each input at a stated version, so the build can be run again from the same versions.
mode full
A full rebuild is the default because it rests on no conditions. An output is marked incremental only when its inputs grow by appending and its steps work row by row or key by key, and the compiler says why when it falls back. A person can require the incremental build, which then fails where it cannot hold, or force a full one.
writes order_line v13, rejects v13
A version is the immutable state an output takes when its build commits, and a figure further down names the version it read. The rejects sit beside the output, each row with the step, the column, the original value, and the reason.
lineage start, complete, three checks passed
The build reports its start, its end or its failure, the versions it read and wrote, and its check results. Column lineage follows a single field through the typed steps, since the compiler knows what each one does to it.
Bring us the spreadsheet your team rebuilds every month.
We'll read the judgments inside it with you, write them as one definition, and trace the figure it produces back to its rows.
Request a demo