ClickHouse/tests/performance/trim_urls.xml
2020-10-20 15:12:06 +03:00

25 lines
645 B
XML

<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<substitutions>
<substitution>
<name>func</name>
<values>
<value>trim(</value>
<value>ltrim(</value>
<value>rtrim(</value>
<value>trim(LEADING 'htpsw:/' FROM </value>
<value>trim(TRAILING '/' FROM </value>
<value>trim(BOTH 'htpsw:/' FROM </value>
</values>
</substitution>
</substitutions>
<query>SELECT ignore({func}URL)) FROM hits_100m_single LIMIT 50000000 FORMAT Null</query>
</test>