mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Add lowercase support.
This commit is contained in:
parent
d6480b846c
commit
db15390ab4
@ -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 == function->name; })
|
||||
[&](const std::string &s) { return s == Poco::toLower(function->name); })
|
||||
&& function->arguments && function->arguments->children.size() == 2)
|
||||
{
|
||||
result = setFirstArgumentAsParameter(function, context);
|
||||
|
Loading…
Reference in New Issue
Block a user