mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
29 lines
893 B
XML
29 lines
893 B
XML
<test>
|
|
<preconditions>
|
|
<table_exists>hits_100m_single</table_exists>
|
|
<table_exists>hits_10m_single</table_exists>
|
|
</preconditions>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>func_fast</name>
|
|
<values>
|
|
<value>trim(</value>
|
|
<value>ltrim(</value>
|
|
<value>rtrim(</value>
|
|
<value>trim(LEADING 'htpsw:/' FROM </value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>func_slow</name>
|
|
<values>
|
|
<value>trim(TRAILING '/' FROM </value>
|
|
<value>trim(BOTH 'htpsw:/' FROM </value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<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>
|
|
</test>
|