ClickHouse/tests/performance/right.xml
2020-04-18 15:54:16 +03:00

21 lines
489 B
XML

<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<substitutions>
<substitution>
<name>func</name>
<values>
<value>right(URL, 16)</value>
<value>substring(URL, greatest(minus(plus(length(URL), 1), 16), 1))</value>
</values>
</substitution>
</substitutions>
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore({func})</query>
</test>