What to build
Implement the indexed join approach chosen in #6443 so that upserts with a
scalar index on the join key use the v2 path instead of falling back to v1.
Remove the scalar index fallback from can_use_create_plan. The use_index
parameter is retained as an escape hatch that controls whether the indexed
join node is used in the plan.
See milestone description for full PRD.
Acceptance criteria
Blocked by
User stories addressed
- 3: indexed upserts use v2 path
- 4: one fewer case on v1, moving toward single code path
- 5:
use_index retained as escape hatch
What to build
Implement the indexed join approach chosen in #6443 so that upserts with a
scalar index on the join key use the v2 path instead of falling back to v1.
Remove the scalar index fallback from
can_use_create_plan. Theuse_indexparameter is retained as an escape hatch that controls whether the indexed
join node is used in the plan.
See milestone description for full PRD.
Acceptance criteria
explain_plan)explain_plantest confirms indexed join node appears in planuse_index=falsestill works as escape hatch (bypasses index, uses full scan join)Blocked by
User stories addressed
use_indexretained as escape hatch