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 Nov 27, 2024
1 parent fe62933 commit 711a2f2
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 @@ -468,6 +468,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 711a2f2

Please sign in to comment.