Skip to content

Commit

Permalink
Remove rule from default optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-toth committed Oct 23, 2024
1 parent 5b749c4 commit de98385
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions datafusion/core/src/physical_optimizer/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ use crate::physical_optimizer::limited_distinct_aggregation::LimitedDistinctAggr
use crate::physical_optimizer::output_requirements::OutputRequirements;
use crate::physical_optimizer::sanity_checker::SanityCheckPlan;
use crate::physical_optimizer::topk_aggregation::TopKAggregation;
use datafusion_physical_optimizer::eliminate_common_physical_subexprs::EliminateCommonPhysicalSubexprs;
use datafusion_physical_optimizer::PhysicalOptimizerRule;
use std::sync::Arc;

Expand Down Expand Up @@ -103,10 +102,6 @@ impl PhysicalOptimizer {
// replacing operators with fetching variants, or adding limits
// past operators that support limit pushdown.
Arc::new(LimitPushdown::new()),
// The EliminateCommonPhysicalSubExprs rule extracts common physical
// subexpression trees into a `ProjectionExec` node under the actual node to
// calculate the common values only once.
Arc::new(EliminateCommonPhysicalSubexprs::new()),
// The SanityCheckPlan rule checks whether the order and
// distribution requirements of each node in the plan
// is satisfied. It will also reject non-runnable query
Expand Down

0 comments on commit de98385

Please sign in to comment.