mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
c0028c3942
* Add categorical iv aggregate function with tests
25 lines
745 B
XML
25 lines
745 B
XML
<test>
|
|
<type>loop</type>
|
|
|
|
<preconditions>
|
|
<table_exists>test.hits</table_exists>
|
|
</preconditions>
|
|
|
|
<stop_conditions>
|
|
<all_of>
|
|
<total_time_ms>10000</total_time_ms>
|
|
</all_of>
|
|
<any_of>
|
|
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
|
<total_time_ms>20000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<main_metric>
|
|
<min_time/>
|
|
</main_metric>
|
|
|
|
<query>SELECT categoricalInformationValue(Age < 15, IsMobile)</query>
|
|
<query>SELECT categoricalInformationValue(Age < 15, Age >= 15 and Age < 30, Age >= 30 and Age < 45, Age >= 45 and Age < 60, Age >= 60, IsMobile)</query>
|
|
</test>
|