mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Split filter optimization.
This commit is contained in:
parent
91403b2f75
commit
0711957fbb
@ -617,9 +617,12 @@ void QueryPlan::optimize()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
trySplitFilter(frame.node, nodes);
|
if (frame.node->children.size() == 1)
|
||||||
|
{
|
||||||
|
while (tryMergeExpressions(frame.node, frame.node->children.front()));
|
||||||
|
|
||||||
while (tryMergeExpressions(frame.node, frame.node->children.front()));
|
trySplitFilter(frame.node, nodes);
|
||||||
|
}
|
||||||
|
|
||||||
stack.pop();
|
stack.pop();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user