Do the replacement of the arguments

This commit is contained in:
Raúl Marín 2024-06-13 12:22:41 +02:00
parent b7161b77d1
commit b74f910aaf

View File

@ -85,6 +85,7 @@ public:
if (!aggregate_function->getResultType()->equals(*function_node->getAggregateFunction()->getResultType()))
return;
function_node->getArguments().getNodes() = replaced_uniq_function_arguments_nodes;
function_node->resolveAsAggregateFunction(std::move(aggregate_function));
}
};