Remove leftovers

This commit is contained in:
Igor Nikonov 2023-03-16 20:50:21 +00:00
parent 1d735b3773
commit 4551233339
3 changed files with 0 additions and 34 deletions

View File

@ -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)
{

View File

@ -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)
{

View File

@ -1,30 +0,0 @@
#include <Processors/QueryPlan/QueryPlanVisitor.h>
#include "Processors/QueryPlan/ITransformingStep.h"
namespace DB
{
// constexpr bool debug_logging_enabled = false;
// class UpdateDataStreams : public QueryPlanVisitor<UpdateDataStreams, debug_logging_enabled>
// {
// public:
// explicit UpdateDataStreams(QueryPlan::Node * root_) : QueryPlanVisitor<UpdateDataStreams, debug_logging_enabled>(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<ITransformingStep*>(parent_node->step.get()); parent_transform_step)
// parent_transform_step->updateInputStream(current_node->step->getOutputStream());
// }
// };
}