Commit 21896ce
committed
Add a _placeholder_vector field when no vector field exists in the
schema, and populate it with a zero vector on writes. This is the
recommended workaround per milvus-io/milvus#33853.
Signed-off-by: Chaitany Patel <patelchaitany93@gmail.com>1 parent ece0126 commit 21896ce
2 files changed
Lines changed: 23 additions & 8 deletions
File tree
- sdk/python
- feast/infra/online_stores/milvus_online_store
- tests/unit/online_store
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
238 | 250 | | |
239 | 251 | | |
240 | 252 | | |
| |||
345 | 357 | | |
346 | 358 | | |
347 | 359 | | |
348 | | - | |
| 360 | + | |
349 | 361 | | |
350 | 362 | | |
351 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
352 | 367 | | |
353 | 368 | | |
354 | 369 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
1306 | | - | |
1307 | 1306 | | |
1308 | 1307 | | |
1309 | 1308 | | |
| |||
1357 | 1356 | | |
1358 | 1357 | | |
1359 | 1358 | | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
1364 | 1363 | | |
1365 | 1364 | | |
1366 | 1365 | | |
| |||
1428 | 1427 | | |
1429 | 1428 | | |
1430 | 1429 | | |
1431 | | - | |
| 1430 | + | |
| 1431 | + | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
| |||
0 commit comments