diff --git a/src/daft-plan/src/planner.rs b/src/daft-plan/src/planner.rs index 60a4ff35cc..0aa1d81960 100644 --- a/src/daft-plan/src/planner.rs +++ b/src/daft-plan/src/planner.rs @@ -497,7 +497,7 @@ pub fn plan(logical_plan: &LogicalPlan, cfg: Arc) -> DaftRe } else { let split_op = PhysicalPlan::FanoutByHash(FanoutByHash::new( first_stage_agg.into(), - num_input_partitions, + 1, groupby.clone(), )); PhysicalPlan::ReduceMerge(ReduceMerge::new(split_op.into()))