Analyzer: Fix AggregateFunctionsArithmericOperationsPass

This commit is contained in:
Dmitry Novik 2024-06-11 16:34:53 +02:00
parent 6f513de001
commit 3680ff07ea

View File

@ -51,7 +51,7 @@ public:
using Base = InDepthQueryTreeVisitorWithContext<AggregateFunctionsArithmericOperationsVisitor>;
using Base::Base;
void leaveImpl(QueryTreeNodePtr & node)
void enterImpl(QueryTreeNodePtr & node)
{
if (!getSettings().optimize_arithmetic_operations_in_aggregate_functions)
return;