ClickHouse/tests/queries/0_stateless/00624_length_utf8.sql

3 lines
369 B
MySQL
Raw Normal View History

2018-04-20 19:22:03 +00:00
SELECT 'привет пр' AS x, lengthUTF8(x) AS y;
2018-04-20 19:46:01 +00:00
SELECT x, lengthUTF8(x) AS y FROM (SELECT arrayJoin(['', 'h', 'hello', 'hello hello hello', 'п', 'пр', 'привет', 'привет привет', 'привет привет привет', '你好', '你好 你好', '你好你好你好', '你好你好你好你好', '你好 你好 你好 你好 你好']) AS x);