Introduction to Databricks
Save the Intended Result Before Restarting
The Empty Result Is Not Saved
The cleaning result is visible, but Botie needs it to remain available after a process restart.
BOTIE
The inputs we are comparing
Previously saved pump records
Two saved rows become one accepted row
- id
- a
- temperature
- 12
- id
- b
- temperature
- -3
| id | temperature |
|---|---|
| a | 12 |
| b | -3 |
The new calculation legitimately accepts no rows
- id
- c
- temperature
- -5
| id | temperature |
|---|---|
| c | -5 |
Rows calculated by the cleaning program
Two saved rows become one accepted row
- id
- a
- temperature
- 12
| id | temperature |
|---|---|
| a | 12 |
The new calculation legitimately accepts no rows
[]
Result for two saved rows become one accepted row
- saved
- id
- a
- temperature
- 12
id temperature a 12 - preview
- null
A Fresh Batch Replaces the Earlier Result
This check uses the pieces from “Place the Save at the Right Point”.
BOTIE
- Previously saved pump records
- id
- last-week
- temperature
- 20
id temperature last-week 20 - Rows calculated by the cleaning program
- id
- today-1
- temperature
- 8
- id
- today-2
- temperature
- 13
id temperature today-1 8 today-2 13
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.
Where would you look if the displayed output was correct but the next run still read the earlier table?
Inspect the explicit write and its destination, rather than assuming a display changed persistent data.
The saved field is an in-memory representation of persistent storage for this model. These tools neither run a notebook nor establish real write durability, permissions, transactions or cloud behavior.