提交 b8ee43e5 编写于 作者: A Alexey Milovidov

dbms: removed debug output [#METR-11370].

上级 2bfd02f3
......@@ -83,7 +83,7 @@ ExpressionActions::Actions ExpressionAction::getPrerequisites(Block & sample_blo
void ExpressionAction::prepare(Block & sample_block)
{
std::cerr << "preparing: " << toString() << std::endl;
// std::cerr << "preparing: " << toString() << std::endl;
if (type == APPLY_FUNCTION)
{
......@@ -172,7 +172,7 @@ void ExpressionAction::prepare(Block & sample_block)
void ExpressionAction::execute(Block & block) const
{
std::cerr << "executing: " << toString() << std::endl;
// std::cerr << "executing: " << toString() << std::endl;
if (type == REMOVE_COLUMN || type == COPY_COLUMN)
if (!block.has(source_name))
......@@ -634,10 +634,6 @@ void ExpressionActions::finalize(const Names & output_columns)
}
}
for (const auto & name : final_columns)
std::cerr << "Final column: " << name << std::endl;
std::cerr << std::endl;
for (int i = static_cast<int>(sample_block.columns()) - 1; i >= 0; --i)
{
const std::string & name = sample_block.getByPosition(i).name;
......
......@@ -1589,9 +1589,9 @@ void ExpressionAnalyzer::removeUnusedColumns()
columns_added_by_join.erase(it++);
}
for (const auto & name_type : columns_added_by_join)
/* for (const auto & name_type : columns_added_by_join)
std::cerr << "JOINed column (required, not key): " << name_type.first << std::endl;
std::cerr << std::endl;
std::cerr << std::endl;*/
/// Вставляем в список требуемых столбцов столбцы, нужные для вычисления ARRAY JOIN.
NameSet array_join_sources;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册