ClickHouse/dbms/tests/queries/0_stateless/01100_split_by_string.sql

9 lines
349 B
SQL

select splitByString('ab', 'cdeabcde');
select splitByString('ab', 'abcdeabcdeab');
select splitByString('ab', 'ababab');
select splitByString('ababab', 'ababab');
select splitByString('', 'abcde');
select splitByString(', ', x) from (select arrayJoin(['hello, world', 'gbye, bug']) x);
select splitByString('ab', '');
select splitByString('', '');