Data Pipelines with Databricks
Keep the run on its declared table version
The code is identical but the mean changes
The routing repair still works, but a rerun silently reads a corrected table and changes the training evidence.
BOTIE
The inputs we are comparing
Retained committed snapshots
Before the later correction exists
[
{
"version": 0,
"rows": [
{
"pump": "P7",
"temperature": 10
},
{
"pump": "P2",
"temperature": 20
}
]
}
]Original training snapshot
[
{
"version": 0,
"rows": [
{
"pump": "P7",
"temperature": 10
},
{
"pump": "P2",
"temperature": 20
}
]
},
{
"version": 1,
"rows": [
{
"pump": "P7",
"temperature": 30
},
{
"pump": "P2",
"temperature": 20
}
]
}
]Version named by this run
Same in both cases
0
Numerical feature column
Same in both cases
temperature
Result for before the later correction exists
15
A new correction arrives while the older run is inspected
This check uses the pieces from “Pin the input before calculating”.
BOTIE
- Retained committed snapshots
[ { "version": 2, "rows": [ { "pressure": 3 }, { "pressure": 9 } ] }, { "version": 3, "rows": [ { "pressure": 99 }, { "pressure": 9 } ] } ]- Version named by this run
2
- Numerical feature column
pressure
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What else would need preserving before this old version could be called reproducible a year later?
A version reference needs retained data, recorded dependencies and an explicit failure when unavailable.
The history contains full local copies of the supplied versions. A real Delta read also depends on its transaction log, retained files and concurrency rules; choosing versions of separate tables requires an explicit input contract.