Summary
Child deletion lane from #1468 / PR #1476 residual unplanned-chain fallback audit.
The corpus still has a non_top_level_optional_match fallback bucket. This issue owns native planning for non-top-level OPTIONAL MATCH cases not covered by prior optional work.
Parent / context
Scope
- Inventory the residual non-top-level OPTIONAL MATCH corpus cases.
- Native-plan the cases that fit the existing logical/physical optional machinery.
- Keep unsupported shapes explicitly classified fail-closed.
- Add tests proving covered cases bypass
_execute_compiled_query_chain_non_union().
- Update the residual count in closeout.
Out of scope
Acceptance
- Covered non-top-level OPTIONAL MATCH cases native-plan and bypass residual chain fallback.
- Remaining cases, if any, are enumerated with proposed follow-up split.
- Focused tests cover matched and null-extension behavior where applicable.
- Local focused GFQL tests, ruff/typecheck, PR CI, and DGX RAPIDS 25.02/26.02 GFQL validation are green or explicitly waived by coordinator.
Summary
Child deletion lane from #1468 / PR #1476 residual unplanned-chain fallback audit.
The corpus still has a
non_top_level_optional_matchfallback bucket. This issue owns native planning for non-top-level OPTIONAL MATCH cases not covered by prior optional work.Parent / context
non_top_level_optional_matchreported as 10 corpus cases.Scope
_execute_compiled_query_chain_non_union().Out of scope
Acceptance