Remove debug messages

This commit is contained in:
Igor Nikonov 2024-05-21 14:35:19 +00:00
parent e96b0994c7
commit 6a30d2749c
3 changed files with 1 additions and 4 deletions

View File

@ -1082,7 +1082,6 @@ JoinTreeQueryPlan buildQueryPlanForTableExpression(QueryTreeNodePtr table_expres
planner.buildQueryPlanIfNeeded();
auto expected_header = planner.getQueryPlan().getCurrentDataStream().header;
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "expected_header:\n{}", expected_header.dumpStructure());
if (!blocksHaveEqualStructure(query_plan.getCurrentDataStream().header, expected_header))
{

View File

@ -496,8 +496,6 @@ static void updateDataStreams(QueryPlan::Node & root)
void QueryPlan::optimize(const QueryPlanOptimizationSettings & optimization_settings)
{
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "\n{}", StackTrace().toString());
/// optimization need to be applied before "mergeExpressions" optimization
/// it removes redundant sorting steps, but keep underlying expressions,
/// so "mergeExpressions" optimization handles them afterwards

View File

@ -14,4 +14,4 @@ SET parallel_replicas_for_non_replicated_merge_tree = 1;
SELECT x FROM parallel_replicas_plain LIMIT 1 FORMAT Null;
SELECT max(length(x)) FROM parallel_replicas_plain FORMAT Null;
-- DROP TABLE parallel_replicas_plain;
DROP TABLE parallel_replicas_plain;