ClickHouse/tests/performance/right.xml

14 lines
390 B
XML
Raw Normal View History

2018-12-14 09:32:24 +00:00
<test>
<substitutions>
<substitution>
<name>func</name>
2018-12-14 09:32:24 +00:00
<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>