mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
prevent a small chance insertion was made too late
This commit is contained in:
parent
54f660bd4f
commit
00c87d3235
@ -18,7 +18,7 @@ CREATE TABLE dst(count UInt64) Engine=MergeTree ORDER BY tuple();
|
||||
CREATE TABLE mt(a Int32, timestamp DateTime) ENGINE=MergeTree ORDER BY tuple();
|
||||
CREATE WINDOW VIEW wv TO dst AS SELECT count(a) AS count FROM mt GROUP BY tumble(timestamp, INTERVAL '5' SECOND, 'US/Samoa') AS wid;
|
||||
|
||||
INSERT INTO mt VALUES (1, now('US/Samoa') + 1);
|
||||
INSERT INTO mt VALUES (1, now('US/Samoa') + 5);
|
||||
EOF
|
||||
|
||||
for _ in {1..100}; do
|
||||
|
Loading…
Reference in New Issue
Block a user