pub fn execute_batch(batch: &FusedPlanBatch, db: &QueryDb) -> Vec<Vec<NodeId>>Expand description
Evaluates a FusedPlanBatch produced by super::fuse::fuse_plans.
Each fusion group’s shared prefix is evaluated exactly once and routed into every tail, avoiding the redundant-scan cost that motivated DB11. Subqueries detected during fusion are evaluated first (priming the shared-node cache) so that top-level tail predicates referencing them hit the cache instead of re-evaluating.
The returned Vec<Vec<NodeId>> is indexed by the original submission
order — out[i] corresponds to plans[i] in the input batch given to
super::fuse::fuse_plans.