2022-02-06 14:45:28 +00:00
|
|
|
select startsWith([], []);
|
|
|
|
select startsWith([1], []);
|
|
|
|
select startsWith([], [1]);
|
2022-02-07 07:31:15 +00:00
|
|
|
select '-';
|
2022-02-06 14:45:28 +00:00
|
|
|
|
|
|
|
select startsWith([NULL], [NULL]);
|
|
|
|
select startsWith([NULL], []);
|
|
|
|
select startsWith([], [NULL]);
|
2022-02-07 07:31:15 +00:00
|
|
|
select startsWith([NULL, 1], [NULL]);
|
|
|
|
select startsWith([NULL, 1], [1]);
|
|
|
|
select '-';
|
2022-02-06 14:45:28 +00:00
|
|
|
|
|
|
|
select startsWith([1, 2, 3, 4], [1, 2, 3]);
|
|
|
|
select startsWith([1, 2, 3, 4], [1, 2, 4]);
|
|
|
|
select startsWith(['a', 'b', 'c'], ['a', 'b']);
|
|
|
|
select startsWith(['a', 'b', 'c'], ['b']);
|
2022-02-07 07:31:15 +00:00
|
|
|
select '-';
|
|
|
|
|
|
|
|
select endsWith([], []);
|
|
|
|
select endsWith([1], []);
|
|
|
|
select endsWith([], [1]);
|
|
|
|
select '-';
|
|
|
|
|
|
|
|
select endsWith([NULL], [NULL]);
|
|
|
|
select endsWith([NULL], []);
|
|
|
|
select endsWith([], [NULL]);
|
|
|
|
select endsWith([1, NULL], [NULL]);
|
|
|
|
select endsWith([NULL, 1], [NULL]);
|
|
|
|
select '-';
|
|
|
|
|
|
|
|
select endsWith([1, 2, 3, 4], [3, 4]);
|
|
|
|
select endsWith([1, 2, 3, 4], [3]);
|
|
|
|
select '-';
|
|
|
|
|
|
|
|
select startsWith([1], emptyArrayUInt8());
|
|
|
|
select endsWith([1], emptyArrayUInt8());
|