From 72e19cbbcb23e8ef66f42c93422c7b9f93cc32f1 Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Tue, 3 Dec 2024 21:12:23 +0100 Subject: [PATCH] Update QueryTreeBuilder.cpp --- src/Analyzer/QueryTreeBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Analyzer/QueryTreeBuilder.cpp b/src/Analyzer/QueryTreeBuilder.cpp index 975c30f4dd7..0d44cf76462 100644 --- a/src/Analyzer/QueryTreeBuilder.cpp +++ b/src/Analyzer/QueryTreeBuilder.cpp @@ -651,7 +651,7 @@ QueryTreeNodePtr QueryTreeBuilder::buildExpression(const ASTPtr & expression, co const auto & group_concat_aliases = GroupConcatImpl::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);