2020-12-01 19:26:07 +00:00
|
|
|
<test>
|
|
|
|
<preconditions>
|
|
|
|
<table_exists>test.hits</table_exists>
|
|
|
|
</preconditions>
|
|
|
|
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, 'yandex'))</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, 'yandex|google'))</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, '(\\w+=\\w+)'))</query>
|
|
|
|
|
2020-12-04 04:54:10 +00:00
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, 'yandex')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, 'yandex|google')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, '(\\w+=\\w+)')) SETTINGS max_threads=2</query>
|
2020-12-01 19:26:07 +00:00
|
|
|
|
2020-12-04 04:54:10 +00:00
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatchesCaseInsensitive(URL, 'yandex')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatchesCaseInsensitive(URL, 'yandex|google')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatchesCaseInsensitive(URL, '(\\w+=\\w+)')) SETTINGS max_threads=2</query>
|
2020-12-01 19:26:07 +00:00
|
|
|
|
|
|
|
<!-- Another variant of case-insensitivity -->
|
2020-12-04 04:54:10 +00:00
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, '(?i)yandex')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, '(?i)yandex|google')) SETTINGS max_threads=2</query>
|
|
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(countMatches(URL, '(?i)(\\w+=\\w+)')) SETTINGS max_threads=2</query>
|
2020-12-01 19:26:07 +00:00
|
|
|
</test>
|