mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add replace -> replaceAll alias #3713
This commit is contained in:
parent
50314e3e91
commit
4ebbe3502d
@ -1088,5 +1088,6 @@ void registerFunctionsStringSearch(FunctionFactory & factory)
|
||||
factory.registerFunction<FunctionLike>();
|
||||
factory.registerFunction<FunctionNotLike>();
|
||||
factory.registerFunction<FunctionExtract>();
|
||||
factory.registerAlias("replace", NameReplaceAll::name, FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
}
|
||||
|
@ -2,3 +2,4 @@ foo
|
||||
FOO
|
||||
foo
|
||||
FOO
|
||||
baz
|
||||
|
@ -4,3 +4,4 @@ select lcase('FOO');
|
||||
select ucase('foo');
|
||||
select LOWER('Foo');
|
||||
select UPPER('Foo');
|
||||
select REPLACE('bar', 'r', 'z');
|
||||
|
Loading…
Reference in New Issue
Block a user