diff --git a/src/Processors/QueryPlan/ExpressionStep.cpp b/src/Processors/QueryPlan/ExpressionStep.cpp index 22216cbfd27..8a1e10f0643 100644 --- a/src/Processors/QueryPlan/ExpressionStep.cpp +++ b/src/Processors/QueryPlan/ExpressionStep.cpp @@ -80,8 +80,6 @@ void ExpressionStep::updateOutputStream() return; const ActionsDAGPtr & actions = actions_dag; - LOG_DEBUG(&Poco::Logger::get(__PRETTY_FUNCTION__), "ActionsDAG dump:\n{}", actions->dumpDAG()); - const auto & input_sort_description = getInputStreams().front().sort_description; for (size_t i = 0, s = input_sort_description.size(); i < s; ++i) { diff --git a/src/Processors/QueryPlan/FilterStep.cpp b/src/Processors/QueryPlan/FilterStep.cpp index afca6903623..d63fded918d 100644 --- a/src/Processors/QueryPlan/FilterStep.cpp +++ b/src/Processors/QueryPlan/FilterStep.cpp @@ -110,8 +110,6 @@ void FilterStep::updateOutputStream() return; const ActionsDAGPtr & actions = actions_dag; - // LOG_DEBUG(&Poco::Logger::get(__PRETTY_FUNCTION__), "ActionsDAG dump:\n{}", actions->dumpDAG()); - const auto & input_sort_description = getInputStreams().front().sort_description; for (size_t i = 0, s = input_sort_description.size(); i < s; ++i) { diff --git a/src/Processors/QueryPlan/updateDataStreams.cpp b/src/Processors/QueryPlan/updateDataStreams.cpp deleted file mode 100644 index 6e4c9570143..00000000000 --- a/src/Processors/QueryPlan/updateDataStreams.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include "Processors/QueryPlan/ITransformingStep.h" - -namespace DB -{ - -// constexpr bool debug_logging_enabled = false; - -// class UpdateDataStreams : public QueryPlanVisitor -// { -// public: -// explicit UpdateDataStreams(QueryPlan::Node * root_) : QueryPlanVisitor(root_) { } - -// static bool visitTopDownImpl(QueryPlan::Node * /*current_node*/, QueryPlan::Node * /*parent_node*/) -// { -// return true; -// } - -// static void visitBottomUpImpl(QueryPlan::Node * current_node, QueryPlan::Node * parent_node) -// { -// if (parent_node->children.size() != 1) -// return; - -// chassert(current_node->step->hasOutputStream()); - -// if (auto * parent_transform_step = dynamic_cast(parent_node->step.get()); parent_transform_step) -// parent_transform_step->updateInputStream(current_node->step->getOutputStream()); -// } -// }; -}