mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
Update QueryTreeBuilder.cpp
This commit is contained in:
parent
db15390ab4
commit
72e19cbbcb
@ -651,7 +651,7 @@ QueryTreeNodePtr QueryTreeBuilder::buildExpression(const ASTPtr & expression, co
|
||||
const auto & group_concat_aliases = GroupConcatImpl<false>::getNameAndAliases();
|
||||
if (!function->name.empty() && std::any_of(
|
||||
group_concat_aliases.begin(), group_concat_aliases.end(),
|
||||
[&](const std::string &s) { return s == Poco::toLower(function->name); })
|
||||
[&](const std::string &s) { return Poco::toLower(s) == Poco::toLower(function->name); })
|
||||
&& function->arguments && function->arguments->children.size() == 2)
|
||||
{
|
||||
result = setFirstArgumentAsParameter(function, context);
|
||||
|
Loading…
Reference in New Issue
Block a user