Commit e782090
committed
fix: remove redundant DROP INDEX in MySQL _drop_table_and_index
MySQL DROP TABLE already removes all indexes. The separate DROP INDEX
was failing on versioned tables that were created via online_write_batch
(which doesn't create the _ek index). Also reuse _drop_table_and_index
in _drop_all_version_tables instead of duplicating logic.
Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>1 parent 386d01a commit e782090
File tree
1 file changed
+1
-3
lines changed- sdk/python/feast/infra/online_stores/mysql_online_store
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
| |||
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
326 | | - | |
327 | | - | |
| 325 | + | |
328 | 326 | | |
329 | 327 | | |
330 | 328 | | |
| |||
0 commit comments