mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
make aliases case insensitive
This commit is contained in:
parent
b9f8fe922d
commit
5fc2e46dd0
@ -20,7 +20,7 @@ using FunctionMatch = FunctionsStringSearch<MatchImpl<NameMatch, false>>;
|
||||
void registerFunctionMatch(FunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<FunctionMatch>();
|
||||
factory.registerAlias("REGEXP_MATCHES", NameMatch::name);
|
||||
factory.registerAlias("REGEXP_MATCHES", NameMatch::name, FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ void registerFunctionReplaceAll(FunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<FunctionReplaceAll>();
|
||||
factory.registerAlias("replace", NameReplaceAll::name, FunctionFactory::CaseInsensitive);
|
||||
factory.registerAlias("REGEXP_REPLACE", NameReplaceAll::name);
|
||||
factory.registerAlias("REGEXP_REPLACE", NameReplaceAll::name, FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user