mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
minor trim test improvements
This commit is contained in:
parent
b7566a8d4d
commit
93d4303922
@ -20,6 +20,7 @@
|
||||
<substitution>
|
||||
<name>func</name>
|
||||
<values>
|
||||
<value>value</value>
|
||||
<value>trimLeft(value)</value>
|
||||
<value>trimRight(value)</value>
|
||||
<value>trimBoth(value)</value>
|
||||
|
@ -14,6 +14,7 @@ fo
|
||||
foo
|
||||
r
|
||||
bar
|
||||
|
||||
foo
|
||||
foo
|
||||
xxfoo
|
||||
|
@ -16,6 +16,7 @@ select left('foo', 2);
|
||||
select LEFT('foo', 123);
|
||||
select RIGHT('bar', 1);
|
||||
select right('bar', 123);
|
||||
select ltrim('') || rtrim('') || trim('');
|
||||
select ltrim(' foo');
|
||||
select RTRIM(' foo ');
|
||||
select trim(TRAILING 'x' FROM 'xxfooxx');
|
||||
|
Loading…
Reference in New Issue
Block a user