Commit 29e086c
committed
readyset-server: Check that placeholders' columns exist
Migration was not checking that the column connected to a placeholder
actually existed, and most confusingly, migration would even succeed!
We only hit a problem when querying the resultant cache, which wouldn't
work and would return an error that didn't make sense. We now try to
check whether the column exists.
Release-Note-Core: Check whether placeholders' columns (`zzz = $1`)
exist during migration, and if not, report query as unsupported.
Fixes: REA-5454
Change-Id: I33fa590bb51b19bc0355ebf13c042dcbebaf2a4c
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/9022
Tested-by: Buildkite CI
Reviewed-by: Michael Zink <michael.z@readyset.io>1 parent f9d8589 commit 29e086c
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1237 | 1256 | | |
1238 | 1257 | | |
1239 | 1258 | | |
| |||
0 commit comments