2017-10-29 00:51:40 +00:00
<test >
<type > once</type>
2017-11-16 18:03:31 +00:00
<tags >
<tag > long</tag>
</tags>
2017-10-29 00:51:40 +00:00
<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-10-29 00:51:40 +00:00
</any_of>
</stop_conditions>
<substitutions >
<substitution >
2019-07-27 21:17:44 +00:00
<name > datetime_transform</name>
2017-10-29 00:51:40 +00:00
<values >
<value > toSecond</value>
<value > toMinute</value>
<value > toHour</value>
<value > toDayOfWeek</value>
<value > toDayOfMonth</value>
2018-09-19 20:48:25 +00:00
<value > toDayOfYear</value>
2017-10-29 00:51:40 +00:00
<value > toMonth</value>
2018-09-19 20:48:25 +00:00
<value > toQuarter</value>
2017-10-29 00:51:40 +00:00
<value > toYear</value>
2018-09-19 20:48:25 +00:00
<value > toISOWeek</value>
<value > toISOYear</value>
2017-10-29 00:51:40 +00:00
<value > toStartOfMinute</value>
<value > toStartOfFiveMinute</value>
2017-12-22 10:36:39 +00:00
<value > toStartOfFifteenMinutes</value>
2017-10-29 00:51:40 +00:00
<value > toStartOfHour</value>
<value > toStartOfDay</value>
<value > toDate</value>
<value > toMonday</value>
<value > toStartOfMonth</value>
<value > toStartOfQuarter</value>
2018-09-19 20:48:25 +00:00
<value > toStartOfYear</value>
<value > toStartOfISOYear</value>
2017-10-29 00:51:40 +00:00
<value > toTime</value>
<value > toRelativeYearNum</value>
<value > toRelativeMonthNum</value>
<value > toRelativeWeekNum</value>
<value > toRelativeDayNum</value>
<value > toRelativeHourNum</value>
<value > toRelativeMinuteNum</value>
<value > toRelativeSecondNum</value>
<value > toYYYYMM</value>
<value > toYYYYMMDD</value>
<value > toYYYYMMDDhhmmss</value>
</values>
</substitution>
<substitution >
2019-07-27 21:17:44 +00:00
<name > date_transform</name>
2017-10-29 00:51:40 +00:00
<values >
<value > toDayOfWeek</value>
<value > toDayOfMonth</value>
2018-09-19 20:48:25 +00:00
<value > toDayOfYear</value>
2017-10-29 00:51:40 +00:00
<value > toMonth</value>
2018-09-19 20:48:25 +00:00
<value > toQuarter</value>
2017-10-29 00:51:40 +00:00
<value > toYear</value>
2018-09-19 20:48:25 +00:00
<value > toISOWeek</value>
<value > toISOYear</value>
2017-10-29 00:51:40 +00:00
<value > toDate</value>
<value > toMonday</value>
<value > toStartOfMonth</value>
<value > toStartOfQuarter</value>
2018-09-19 20:48:25 +00:00
<value > toStartOfYear</value>
<value > toStartOfISOYear</value>
2017-10-29 00:51:40 +00:00
<value > toRelativeYearNum</value>
<value > toRelativeMonthNum</value>
<value > toRelativeWeekNum</value>
<value > toRelativeDayNum</value>
<value > toYYYYMM</value>
<value > toYYYYMMDD</value>
<value > toYYYYMMDDhhmmss</value>
</values>
</substitution>
<substitution >
2019-07-27 21:17:44 +00:00
<name > time_zone</name>
2017-10-29 00:51:40 +00:00
<values >
<value > UTC</value>
<value > Europe/Moscow</value>
<value > Asia/Kolkata</value>
</values>
</substitution>
</substitutions>
<query > SELECT count() FROM system.numbers WHERE NOT ignore(toDateTime('2017-01-01 00:00:00') + number % 100000000 + rand() % 100000 AS t, {datetime_transform}(t, '{time_zone}'))</query>
<query > SELECT count() FROM system.numbers WHERE NOT ignore(toDate('2017-01-01') + number % 1000 + rand() % 10 AS t, {date_transform}(t))</query>
</test>