mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
Remove debug messages
This commit is contained in:
parent
e96b0994c7
commit
6a30d2749c
@ -1082,7 +1082,6 @@ JoinTreeQueryPlan buildQueryPlanForTableExpression(QueryTreeNodePtr table_expres
|
|||||||
planner.buildQueryPlanIfNeeded();
|
planner.buildQueryPlanIfNeeded();
|
||||||
|
|
||||||
auto expected_header = planner.getQueryPlan().getCurrentDataStream().header;
|
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))
|
if (!blocksHaveEqualStructure(query_plan.getCurrentDataStream().header, expected_header))
|
||||||
{
|
{
|
||||||
|
@ -496,8 +496,6 @@ static void updateDataStreams(QueryPlan::Node & root)
|
|||||||
|
|
||||||
void QueryPlan::optimize(const QueryPlanOptimizationSettings & optimization_settings)
|
void QueryPlan::optimize(const QueryPlanOptimizationSettings & optimization_settings)
|
||||||
{
|
{
|
||||||
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "\n{}", StackTrace().toString());
|
|
||||||
|
|
||||||
/// optimization need to be applied before "mergeExpressions" optimization
|
/// optimization need to be applied before "mergeExpressions" optimization
|
||||||
/// it removes redundant sorting steps, but keep underlying expressions,
|
/// it removes redundant sorting steps, but keep underlying expressions,
|
||||||
/// so "mergeExpressions" optimization handles them afterwards
|
/// so "mergeExpressions" optimization handles them afterwards
|
||||||
|
@ -14,4 +14,4 @@ SET parallel_replicas_for_non_replicated_merge_tree = 1;
|
|||||||
SELECT x FROM parallel_replicas_plain LIMIT 1 FORMAT Null;
|
SELECT x FROM parallel_replicas_plain LIMIT 1 FORMAT Null;
|
||||||
SELECT max(length(x)) FROM parallel_replicas_plain FORMAT Null;
|
SELECT max(length(x)) FROM parallel_replicas_plain FORMAT Null;
|
||||||
|
|
||||||
-- DROP TABLE parallel_replicas_plain;
|
DROP TABLE parallel_replicas_plain;
|
||||||
|
Loading…
Reference in New Issue
Block a user