Skip to content

Commit

Permalink
fix(cubesql): Add forgotten Distinct in ast_size_outside_wrapper cost…
Browse files Browse the repository at this point in the history
… component (#8882)
  • Loading branch information
mcheshkov authored Jan 16, 2025
1 parent 9700dc8 commit a64272e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/cubesql/cubesql/src/compile/rewrite/cost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ impl CostFunction<LogicalPlanLanguage> for BestCubePlan {
LogicalPlanLanguage::Union(_) => 1,
LogicalPlanLanguage::Window(_) => 1,
LogicalPlanLanguage::Subquery(_) => 1,
LogicalPlanLanguage::Distinct(_) => 1,
_ => 0,
};

Expand Down

0 comments on commit a64272e

Please sign in to comment.