ClickHouse/tests/performance/trim_urls.xml

29 lines
893 B
XML
Raw Normal View History

2018-12-14 09:20:22 +00:00
<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
2020-11-10 04:19:43 +00:00
<table_exists>hits_10m_single</table_exists>
2018-12-14 09:20:22 +00:00
</preconditions>
<substitutions>
<substitution>
2020-11-10 04:19:43 +00:00
<name>func_fast</name>
2018-12-14 09:20:22 +00:00
<values>
<value>trim(</value>
<value>ltrim(</value>
<value>rtrim(</value>
<value>trim(LEADING 'htpsw:/' FROM </value>
</values>
</substitution>
2020-11-10 04:19:43 +00:00
<substitution>
<name>func_slow</name>
<values>
<value>trim(TRAILING '/' FROM </value>
<value>trim(BOTH 'htpsw:/' FROM </value>
2020-11-12 08:27:33 +00:00
</values>
2020-11-11 11:51:21 +00:00
</substitution>
2018-12-14 09:20:22 +00:00
</substitutions>
2020-11-13 05:00:43 +00:00
<query>SELECT ignore({func_fast}URL)) FROM hits_100m_single FORMAT Null</query>
<query>SELECT ignore({func_slow}URL)) FROM hits_10m_single FORMAT Null</query>
2018-12-14 09:20:22 +00:00
</test>