mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
28 lines
820 B
XML
28 lines
820 B
XML
|
<test>
|
||
|
<type>once</type>
|
||
|
|
||
|
<stop_conditions>
|
||
|
<any_of>
|
||
|
<!-- This is only for infinite running query. -->
|
||
|
<average_speed_not_changing_for_ms>2000</average_speed_not_changing_for_ms>
|
||
|
<total_time_ms>10000</total_time_ms>
|
||
|
</any_of>
|
||
|
</stop_conditions>
|
||
|
|
||
|
<substitutions>
|
||
|
<substitution>
|
||
|
<name>expr</name>
|
||
|
<values>
|
||
|
<value>number</value>
|
||
|
<value>toUInt32(number)</value>
|
||
|
<value>toUInt16(number)</value>
|
||
|
<value>toUInt8(number)</value>
|
||
|
<value>toInt32(number)</value>
|
||
|
<value>toFloat64(number)</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
</substitutions>
|
||
|
|
||
|
<query>SELECT bitCount({expr}) FROM system.numbers</query>
|
||
|
</test>
|