Skip to content

GFQL deletion: native-plan non-top-level OPTIONAL MATCH fallback bucket #1478

@lmeyerov

Description

@lmeyerov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions