From db15390ab46406bb74c636836e6961c801cb46a4 Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:53:39 +0100 Subject: [PATCH] Add lowercase support. --- 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 3f4ef587cbc..975c30f4dd7 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 == function->name; }) + [&](const std::string &s) { return s == Poco::toLower(function->name); }) && function->arguments && function->arguments->children.size() == 2) { result = setFirstArgumentAsParameter(function, context);