Skip to content

Commit 2710fe3

Browse files
committed
fix(cubesql): Add forgotten Distinct in ast_size_outside_wrapper cost component
1 parent 5fd13d1 commit 2710fe3

File tree

1 file changed

+1
-0
lines changed
  • rust/cubesql/cubesql/src/compile/rewrite

1 file changed

+1
-0
lines changed

rust/cubesql/cubesql/src/compile/rewrite/cost.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ impl CostFunction<LogicalPlanLanguage> for BestCubePlan {
468468
LogicalPlanLanguage::Union(_) => 1,
469469
LogicalPlanLanguage::Window(_) => 1,
470470
LogicalPlanLanguage::Subquery(_) => 1,
471+
LogicalPlanLanguage::Distinct(_) => 1,
471472
_ => 0,
472473
};
473474

0 commit comments

Comments
 (0)