Skip to content

Commit a64272e

Browse files
authored
fix(cubesql): Add forgotten Distinct in ast_size_outside_wrapper cost component (#8882)
1 parent 9700dc8 commit a64272e

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
@@ -495,6 +495,7 @@ impl CostFunction<LogicalPlanLanguage> for BestCubePlan {
495495
LogicalPlanLanguage::Union(_) => 1,
496496
LogicalPlanLanguage::Window(_) => 1,
497497
LogicalPlanLanguage::Subquery(_) => 1,
498+
LogicalPlanLanguage::Distinct(_) => 1,
498499
_ => 0,
499500
};
500501

0 commit comments

Comments
 (0)