mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
Update complie expressions.
This commit is contained in:
parent
b2155c55ff
commit
513779afb0
@ -872,7 +872,7 @@ void ActionsDAG::compileFunctions()
|
|||||||
if (should_compile)
|
if (should_compile)
|
||||||
{
|
{
|
||||||
std::vector<Node *> new_children;
|
std::vector<Node *> new_children;
|
||||||
auto dag = getCompilableDAG(frame.node, new_children);
|
auto dag = getCompilableDAG(frame.node, new_children, used_in_result);
|
||||||
if (dag.size() != cur.num_inlineable_nodes)
|
if (dag.size() != cur.num_inlineable_nodes)
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
||||||
"Unexpected number of nodes in compile expression DAG. "
|
"Unexpected number of nodes in compile expression DAG. "
|
||||||
|
Loading…
Reference in New Issue
Block a user