mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Split filter optimization.
This commit is contained in:
parent
91403b2f75
commit
0711957fbb
@ -617,9 +617,12 @@ void QueryPlan::optimize()
|
||||
}
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user