Skip to content

Metaissue: M4 wave-1 execution DAG (pass framework + predicate pushdown safety primitives) #1179

@lmeyerov

Description

@lmeyerov

Goal alignment

Start M4 with an execution shape that matches current landed M3 reality (incremental cutover, compatibility-preserving), while preserving the original M4 intent:

  • introduce composable pass framework over LogicalPlan
  • establish correctness/safety primitives for predicate pushdown
  • prepare for PredicatePushdownPass implementation lane immediately after wave-1

Spec source: plans/compiler-refactor/milestone-M4.md

Why this meta now

M3 follow-ups #1168 and #1169 are closed. Next work should move to M4.

Wave-1 lanes (parallel)

Follow-on lane

DAG

  1. Run #1180 and #1181 in parallel.
  2. Merge in either order if truly disjoint and green.
  3. Open M4-PR3 for actual PredicatePushdownPass rewrite logic once #1180 + #1181 are merged.

Conformance gate for wave-1

  • Pass framework is pure, explicit, and verifier-guarded.
  • Predicate safety primitives are independently tested and reusable.
  • No silent semantic change in OPTIONAL MATCH behavior.
  • CI green.

Notes

  • If M4 spec text still assumes hard M3 conditions that are now incremental/deferred, track that drift explicitly in issue comments and keep implementation requirements concrete in child issues.

Completion

  • Wave-1 prerequisites (#1180, #1181) landed.
  • Follow-on rewrite lane (#1187) landed.
  • Closing this meta as completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions