Commit f414908
committed
compute-client: fix mz_compute_operator_hydration_statuses_per_worker primary key
Add `worker_id` to the primary key of
`mz_compute_operator_hydration_statuses_per_worker` so that rows from
different workers do not collide. The view has one row per
`(export_id, lir_id, worker_id)`, so the previous key `(export_id, lir_id)`
was incorrect and could cause inconsistent results when joining or
deduplicating against the index.
Fixes CLU-87.1 parent d23fb6f commit f414908
4 files changed
Lines changed: 4 additions & 3 deletions
File tree
- src/compute-client/src
- test
- sqllogictest
- testdrive
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments