mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge f482f16114
into 3eb5bc1a0f
This commit is contained in:
commit
60a84e8b83
@ -1856,6 +1856,10 @@ ActionsDAG::SplitResult ActionsDAG::split(std::unordered_set<const Node *> split
|
||||
}
|
||||
}
|
||||
|
||||
/// All input nodes are needed by split to make sure first DAG and initial DAG have equal inputs,
|
||||
for (const auto * input: inputs)
|
||||
data[input].needed_by_split_node = true;
|
||||
|
||||
/// DFS. Move nodes to one of the DAGs.
|
||||
for (const auto & node : nodes)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user