ClickHouse/tests/performance/trim_numbers.xml

21 lines
557 B
XML
Raw Normal View History

2018-12-14 09:20:22 +00:00
<test>
<substitutions>
<substitution>
<name>func</name>
2018-12-14 09:20:22 +00:00
<values>
<value>trim(</value>
<value>ltrim(</value>
<value>rtrim(</value>
<value>trim(LEADING '012345' FROM </value>
<value>trim(TRAILING '012345' FROM </value>
<value>trim(BOTH '012345' FROM </value>
</values>
</substitution>
</substitutions>
<query>SELECT count() FROM numbers(10000000) WHERE NOT ignore({func}toString(number)))</query>
</test>