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

21 lines
557 B
XML

<test>
<substitutions>
<substitution>
<name>func</name>
<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>