From 7b341c374981d32d9e53eed0f00fb092e78fa3a6 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Wed, 10 Mar 2021 19:05:37 +0300 Subject: [PATCH] Remove debug output. --- src/Interpreters/ActionsDAG.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Interpreters/ActionsDAG.cpp b/src/Interpreters/ActionsDAG.cpp index 72debf58897..2df84b6356a 100644 --- a/src/Interpreters/ActionsDAG.cpp +++ b/src/Interpreters/ActionsDAG.cpp @@ -321,24 +321,19 @@ void ActionsDAG::removeUnusedActions(const NameSet & required_names) void ActionsDAG::removeUnusedActions(const Names & required_names) { - std::cerr << "ActionsDAG::removeUnusedActions\n"; NodeRawConstPtrs required_nodes; required_nodes.reserve(required_names.size()); std::unordered_map> names_map; for (const auto * node : index) - { - std::cerr << ".index " << node->result_name << std::endl; names_map[node->result_name].push_back(node); - } for (const auto & name : required_names) { - std::cerr << "..req name " << name << std::endl; auto & nodes_list = names_map[name]; if (nodes_list.empty()) throw Exception(ErrorCodes::UNKNOWN_IDENTIFIER, - "Unknown column: {}, there are only columns {}", name, dumpDAG()); + "Unknown column: {}, there are only columns {}", name, dumpNames()); required_nodes.push_back(nodes_list.front()); nodes_list.pop_back();