2021-09-12 12:35:27 +00:00
|
|
|
-- Tags: no-debug
|
|
|
|
|
2019-03-26 22:03:02 +00:00
|
|
|
SET allow_hyperscan = 1;
|
|
|
|
SELECT multiMatchAny(arrayJoin(['hello', 'world', 'hellllllllo', 'wororld', 'abc']), ['hel+o', 'w(or)*ld']);
|
|
|
|
SET allow_hyperscan = 0;
|
|
|
|
SELECT multiMatchAny(arrayJoin(['hello', 'world', 'hellllllllo', 'wororld', 'abc']), ['hel+o', 'w(or)*ld']); -- { serverError 446 }
|
2019-10-13 13:22:09 +00:00
|
|
|
SELECT multiMatchAllIndices(arrayJoin(['hello', 'world', 'hellllllllo', 'wororld', 'abc']), ['hel+o', 'w(or)*ld']); -- { serverError 446 }
|
2019-03-26 22:03:02 +00:00
|
|
|
|
|
|
|
SELECT multiSearchAny(arrayJoin(['hello', 'world', 'hello, world', 'abc']), ['hello', 'world']);
|