mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test #2257
This commit is contained in:
parent
5ba5e80846
commit
fb4a44a913
15
dbms/tests/queries/0_stateless/00624_length_utf8.reference
Normal file
15
dbms/tests/queries/0_stateless/00624_length_utf8.reference
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
привет пр 9
|
||||||
|
0
|
||||||
|
h 1
|
||||||
|
hello 5
|
||||||
|
hello hello hello 17
|
||||||
|
п 1
|
||||||
|
пр 2
|
||||||
|
привет 6
|
||||||
|
привет привет 13
|
||||||
|
привет привет привет 20
|
||||||
|
你好 2
|
||||||
|
你好 你好 5
|
||||||
|
你好你好你好 6
|
||||||
|
你好你好你好你好 8
|
||||||
|
你好 你好 你好 你好 你好 14
|
@ -1 +1,2 @@
|
|||||||
SELECT 'привет пр' AS x, lengthUTF8(x) AS y;
|
SELECT 'привет пр' AS x, lengthUTF8(x) AS y;
|
||||||
|
SELECT x, lengthUTF8(x) AS y FROM (SELECT arrayJoin(['', 'h', 'hello', 'hello hello hello', 'п', 'пр', 'привет', 'привет привет', 'привет привет привет', '你好', '你好 你好', '你好你好你好', '你好你好你好你好', '你好 你好 你好 你好 你好']) AS x);
|
||||||
|
Loading…
Reference in New Issue
Block a user