Skip to content

Commit a4867a3

Browse files
Backport #61183 to 24.1: fix flaky 02949_ttl_group_by_bug
1 parent 7eaf4f1 commit a4867a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/queries/0_stateless/02949_ttl_group_by_bug.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ DROP TABLE IF EXISTS ttl_group_by_bug;
22

33
CREATE TABLE ttl_group_by_bug
44
(key UInt32, ts DateTime, value UInt32, min_value UInt32 default value, max_value UInt32 default value)
5-
ENGINE = MergeTree() PARTITION BY toYYYYMM(ts)
5+
ENGINE = MergeTree()
66
ORDER BY (key, toStartOfInterval(ts, toIntervalMinute(3)), ts)
77
TTL ts + INTERVAL 5 MINUTE GROUP BY key, toStartOfInterval(ts, toIntervalMinute(3))
88
SET value = sum(value), min_value = min(min_value), max_value = max(max_value), ts=min(toStartOfInterval(ts, toIntervalMinute(3)));

0 commit comments

Comments
 (0)