Update ExpressionAnalyzer.cpp

This commit is contained in:
Nikolai Kochetov 2020-11-03 17:14:34 +03:00 committed by GitHub
parent ceb83602b8
commit 726be794a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -835,8 +835,8 @@ bool SelectQueryExpressionAnalyzer::appendHaving(ExpressionActionsChain & chain,
ExpressionActionsChain::Step & step = chain.lastStep(aggregated_columns);
step.required_output.push_back(select_query->having()->getColumnName());
getRootActionsForHaving(select_query->having(), only_types, step.actions());
step.required_output.push_back(select_query->having()->getColumnName());
return true;
}