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
  • Loading branch information
mcheshkov committed Jan 16, 2025
1 parent d9bc147 commit 5cac94b
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 5cac94b

Please sign in to comment.