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
513779afb0
commit
0a4bb37dcb
@ -873,11 +873,6 @@ void ActionsDAG::compileFunctions()
|
|||||||
{
|
{
|
||||||
std::vector<Node *> new_children;
|
std::vector<Node *> new_children;
|
||||||
auto dag = getCompilableDAG(frame.node, new_children, used_in_result);
|
auto dag = getCompilableDAG(frame.node, new_children, used_in_result);
|
||||||
if (dag.size() != cur.num_inlineable_nodes)
|
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
|
||||||
"Unexpected number of nodes in compile expression DAG. "
|
|
||||||
"Expected {}, got {}. Chain: {}",
|
|
||||||
cur.num_inlineable_nodes, dag.size(), dag.dump());
|
|
||||||
|
|
||||||
if (auto fn = compile(dag, min_count_to_compile_expression, compilation_cache))
|
if (auto fn = compile(dag, min_count_to_compile_expression, compilation_cache))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user