mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Test for left/right with cut size larger than input
This commit is contained in:
parent
2279058f0d
commit
9dca1e3ca2
@ -11,7 +11,9 @@ o
|
||||
oo
|
||||
o
|
||||
fo
|
||||
foo
|
||||
r
|
||||
bar
|
||||
foo
|
||||
foo
|
||||
xxfoo
|
||||
|
@ -13,7 +13,9 @@ select IF(3>2, 1, 0);
|
||||
select substring('foo' from 1 + 1);
|
||||
select SUBSTRING('foo' FROM 2 FOR 1);
|
||||
select left('foo', 2);
|
||||
select LEFT('foo', 123);
|
||||
select RIGHT('bar', 1);
|
||||
select right('bar', 123);
|
||||
select ltrim(' foo');
|
||||
select RTRIM(' foo ');
|
||||
select trim(TRAILING 'x' FROM 'xxfooxx');
|
||||
|
Loading…
Reference in New Issue
Block a user