2017-08-05 03:27:18 +00:00
|
|
|
<test>
|
|
|
|
<name>if_array_num</name>
|
|
|
|
<type>once</type>
|
|
|
|
|
|
|
|
<stop_conditions>
|
|
|
|
<any_of>
|
2019-05-13 14:09:11 +00:00
|
|
|
<average_speed_not_changing_for_ms>1000</average_speed_not_changing_for_ms>
|
|
|
|
<total_time_ms>10000</total_time_ms>
|
2017-08-05 03:27:18 +00:00
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
|
|
|
<metrics>
|
|
|
|
<max_rows_per_second />
|
|
|
|
</metrics>
|
|
|
|
|
|
|
|
<main_metric>
|
|
|
|
<max_rows_per_second />
|
|
|
|
</main_metric>
|
|
|
|
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? [1, 2, 3] : [4, 5])</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? [1, 2, 3] : materialize([4, 5]))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize([1, 2, 3]) : materialize([4, 5]))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? [1, 2, 3] : [400, 500])</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? [1, 2, 3] : materialize([400, 500]))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize([1, 2, 3]) : materialize([400, 500]))</query>
|
|
|
|
</test>
|