mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
9b6b2b175f
v2: smaller table for *firstSignificantSubdomain* (max_threads=1)
43 lines
1.9 KiB
XML
43 lines
1.9 KiB
XML
<test>
|
|
<preconditions>
|
|
<table_exists>hits_100m_single</table_exists>
|
|
<table_exists>test.hits</table_exists>
|
|
</preconditions>
|
|
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>func</name>
|
|
<values>
|
|
<value>protocol</value>
|
|
<value>domain</value>
|
|
<value>domainWithoutWWW</value>
|
|
<value>topLevelDomain</value>
|
|
<value>firstSignificantSubdomain</value>
|
|
<value>cutToFirstSignificantSubdomain</value>
|
|
<value>path</value>
|
|
<value>pathFull</value>
|
|
<value>queryString</value>
|
|
<value>fragment</value>
|
|
<value>queryStringAndFragment</value>
|
|
<value>extractURLParameters</value>
|
|
<value>extractURLParameterNames</value>
|
|
<value>URLHierarchy</value>
|
|
<value>URLPathHierarchy</value>
|
|
<value>decodeURLComponent</value>
|
|
<value>cutWWW</value>
|
|
<value>cutQueryString</value>
|
|
<value>cutQueryStringAndFragment</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore({func}(URL))</query>
|
|
|
|
<!-- firstSignificantSubdomain/firstSignificantSubdomainCustom -->
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(firstSignificantSubdomain(URL)) SETTINGS max_threads=1</query>
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(firstSignificantSubdomainCustom(URL, 'public_suffix_list')) SETTINGS max_threads=1</query>
|
|
<!-- cutToFirstSignificantSubdomain/cutToFirstSignificantSubdomainCustom -->
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(cutToFirstSignificantSubdomain(URL)) SETTINGS max_threads=1</query>
|
|
<query>SELECT count() FROM test.hits WHERE NOT ignore(cutToFirstSignificantSubdomainCustom(URL, 'public_suffix_list')) SETTINGS max_threads=1</query>
|
|
</test>
|