mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
fix issue of actions dag split
This commit is contained in:
parent
b216223aa0
commit
1f20030df0
@ -1713,6 +1713,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