Commit e455bdc
committed
eliminate legacy replace path and unify to operator-based execution
- Route ODKU all-column-self-update rewrite through modern path
- Support fake PK tables (no PK + UK) in modern path
- Support vector index tables in modern path (skip irregular indexes)
- Remove legacy build_replace.go, scope.replace(), and all related code
- Clean up proto: mark ReplaceCtx, Node.REPLACE, Query.REPLACE as reserved
- Remove Node_REPLACE references from explain code
- Add BVT tests for NULL UK, fake PK+UK, and ODKU scenarios
Issue: #239461 parent ed34bf3 commit e455bdc
19 files changed
Lines changed: 1474 additions & 2115 deletions
File tree
- pkg
- frontend
- pb/plan
- sql
- compile
- plan
- explain
- proto
- test/distributed/cases/dml/replace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
2305 | | - | |
2306 | | - | |
2307 | | - | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
2311 | 2305 | | |
2312 | 2306 | | |
2313 | 2307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2445 | 2445 | | |
2446 | 2446 | | |
2447 | 2447 | | |
2448 | | - | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | 2448 | | |
2456 | 2449 | | |
2457 | 2450 | | |
| |||
0 commit comments