Added a comment with detailed explanation

This commit is contained in:
Alexey Milovidov 2019-04-18 01:28:00 +03:00
parent 197f3ab33c
commit d8203ba664

View File

@ -45,3 +45,22 @@ create table test.ttl (d DateTime, a Int ttl d) engine = MergeTree order by a pa
create table test.ttl (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 } create table test.ttl (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 }
create table test.ttl (d DateTime, a Int ttl toDateTime(1)) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 } create table test.ttl (d DateTime, a Int ttl toDateTime(1)) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 }
create table test.ttl (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 } create table test.ttl (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d); -- { serverError 450 }
/*
Alexey Milovidov, [17.04.19 20:09]
sleep(0.7)
sleep(1.1)
- почему? @Alesapin
Alexander Sapin, [17.04.19 23:16]
[In reply to Alexey Milovidov]
1.1 по логике теста, я попробовал с 0.5 и у меня флапнуло. С 1 не флапало, но работало долго. Попробовал 0.7 и тоже не флапает.
Alexey Milovidov, [17.04.19 23:18]
Слабо такой комментарий добавить прямо в тест? :)
Alexander Sapin, [17.04.19 23:20]
как-то неловко :)
*/