mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
25 lines
879 B
XML
25 lines
879 B
XML
|
<test>
|
||
|
<name>if_string_const</name>
|
||
|
<type>once</type>
|
||
|
|
||
|
<stop_conditions>
|
||
|
<any_of>
|
||
|
<average_speed_not_changing_for_ms>10000</average_speed_not_changing_for_ms>
|
||
|
<total_time_ms>1000</total_time_ms>
|
||
|
</any_of>
|
||
|
</stop_conditions>
|
||
|
|
||
|
<metrics>
|
||
|
<max_bytes_per_second />
|
||
|
</metrics>
|
||
|
|
||
|
<main_metric>
|
||
|
<max_bytes_per_second />
|
||
|
</main_metric>
|
||
|
|
||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? 'hello' : 'world')</query>
|
||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? 'hello' : '')</query>
|
||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? toFixedString('hello', 5) : toFixedString('world', 5))</query>
|
||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? '' : toFixedString('world', 5))</query>
|
||
|
</test>
|