ClickHouse/tests/queries/0_stateless/02185_split_by_char.sql

8 lines
302 B
MySQL
Raw Normal View History

2022-01-30 01:10:27 +00:00
select splitByChar(',', '1,2,3');
select splitByChar(',', '1,2,3', 0);
select splitByChar(',', '1,2,3', 1);
select splitByChar(',', '1,2,3', 2);
select splitByChar(',', '1,2,3', 3);
select splitByChar(',', '1,2,3', -2); -- { serverError 44 }
select splitByChar(',', '1,2,3', ''); -- { serverError 43 }