Skip to content

Commit

Permalink
Disabled optimizer rule
Browse files Browse the repository at this point in the history
Fixed some tests
  • Loading branch information
Dtenwolde committed Dec 7, 2023
1 parent 253edce commit 718778e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/optimizer/optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ unique_ptr<LogicalOperator> Optimizer::Optimize(unique_ptr<LogicalOperator> plan
});

// compress data based on statistics for materializing operators
RunOptimizer(OptimizerType::COMPRESSED_MATERIALIZATION, [&]() {
CompressedMaterialization compressed_materialization(context, binder, std::move(statistics_map));
compressed_materialization.Compress(plan);
});
// RunOptimizer(OptimizerType::COMPRESSED_MATERIALIZATION, [&]() {
// CompressedMaterialization compressed_materialization(context, binder, std::move(statistics_map));
// compressed_materialization.Compress(plan);
// });

// transform ORDER BY + LIMIT to TopN
RunOptimizer(OptimizerType::TOP_N, [&]() {
Expand Down

0 comments on commit 718778e

Please sign in to comment.