mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Merge pull request #46285 from kssenii/winoow-view-test-fix
Fix window view test
This commit is contained in:
commit
35937eb434
@ -12,7 +12,7 @@ DROP TABLE IF EXISTS wv;
|
|||||||
|
|
||||||
CREATE TABLE dst(count UInt64) Engine=MergeTree ORDER BY tuple();
|
CREATE TABLE dst(count UInt64) Engine=MergeTree ORDER BY tuple();
|
||||||
CREATE TABLE mt(a Int32) ENGINE=MergeTree ORDER BY tuple();
|
CREATE TABLE mt(a Int32) ENGINE=MergeTree ORDER BY tuple();
|
||||||
CREATE WINDOW VIEW wv TO dst AS SELECT count(a) AS count FROM mt GROUP BY tumble(now('US/Samoa'), INTERVAL '1' SECOND, 'US/Samoa') AS wid;
|
CREATE WINDOW VIEW wv TO dst AS SELECT count(a) AS count FROM mt GROUP BY tumble(now('US/Samoa'), INTERVAL '5' SECOND, 'US/Samoa') AS wid;
|
||||||
|
|
||||||
INSERT INTO mt VALUES (1);
|
INSERT INTO mt VALUES (1);
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user