Data Pipelines with Databricks
Keep every prediction on its own feature history
The newest value was published after the prediction
Access is correct, but the latest-value join gives past predictions information published later.
BOTIE
The inputs we are comparing
Immutable published feature history
Only the available feature rows have arrived
- pump
- P7
- publishedAt
- 3
- value
- 10
- pump
- P2
- publishedAt
- 4
- value
- 20
| pump | publishedAt | value |
|---|---|---|
| P7 | 3 | 10 |
| P2 | 4 | 20 |
A later correction is unavailable
- pump
- P7
- publishedAt
- 3
- value
- 10
- pump
- P7
- publishedAt
- 8
- value
- 99
- pump
- P2
- publishedAt
- 4
- value
- 20
| pump | publishedAt | value |
|---|---|---|
| P7 | 3 | 10 |
| P7 | 8 | 99 |
| P2 | 4 | 20 |
Entity and decision minute per prediction
Same in both cases
- pump
- P7
- at
- 6
- pump
- P2
- at
- 6
| pump | at |
|---|---|
| P7 | 6 |
| P2 | 6 |
Maximum feature age in minutes
Same in both cases
5
Result for only the available feature rows have arrived
- pump
- P7
- at
- 6
- temperature
- 10
- pump
- P2
- at
- 6
- temperature
- 20
| pump | at | temperature |
|---|---|---|
| P7 | 6 | 10 |
| P2 | 6 | 20 |
One pump is stale while another has just published
This check uses the pieces from “Build the feature candidates for each decision”.
BOTIE
- Immutable published feature history
- pump
- A
- publishedAt
- 5
- value
- 1
- pump
- A
- publishedAt
- 9
- value
- 7
- pump
- B
- publishedAt
- 8
- value
- 4
pump publishedAt value A 5 1 A 9 7 B 8 4 - Entity and decision minute per prediction
- pump
- A
- at
- 8
- pump
- B
- at
- 8
pump at A 8 B 8 - Maximum feature age in minutes
2
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 evidence shows that publishedAt really records availability rather than a backdated event?
Keep publication history, table identity and the lookup/fallback policy with the trained procedure.
The floor looks up supplied immutable publication history using an inclusive age rule. Computing the features, establishing truthful availability timestamps and operating a real feature service are separate responsibilities.