mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +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();
|
const auto & group_concat_aliases = GroupConcatImpl<false>::getNameAndAliases();
|
||||||
if (!function->name.empty() && std::any_of(
|
if (!function->name.empty() && std::any_of(
|
||||||
group_concat_aliases.begin(), group_concat_aliases.end(),
|
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)
|
&& function->arguments && function->arguments->children.size() == 2)
|
||||||
{
|
{
|
||||||
result = setFirstArgumentAsParameter(function, context);
|
result = setFirstArgumentAsParameter(function, context);
|
||||||
|
Loading…
Reference in New Issue
Block a user