mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Add converting logic to ActionsDAG.
This commit is contained in:
parent
a7e1fb11c6
commit
fd3ee6d8af
@ -749,6 +749,8 @@ ActionsDAGPtr ActionsDAG::splitActionsBeforeArrayJoin(const NameSet & array_join
|
||||
input_node.result_type = child->result_type;
|
||||
input_node.result_name = child->result_name; // getUniqueNameForIndex(index, child->result_name);
|
||||
child_data.to_this = &this_nodes.emplace_back(std::move(input_node));
|
||||
|
||||
if (child->type != ActionType::INPUT)
|
||||
new_inputs.push_back(child_data.to_this);
|
||||
|
||||
/// This node is needed for current action, so put it to index also.
|
||||
@ -781,6 +783,8 @@ ActionsDAGPtr ActionsDAG::splitActionsBeforeArrayJoin(const NameSet & array_join
|
||||
input_node.result_type = node.result_type;
|
||||
input_node.result_name = node.result_name;
|
||||
cur_data.to_this = &this_nodes.emplace_back(std::move(input_node));
|
||||
|
||||
if (copy.type != ActionType::INPUT)
|
||||
new_inputs.push_back(cur_data.to_this);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user