mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-08 07:22:25 +00:00
14 lines
409 B
SQL
14 lines
409 B
SQL
DROP TABLE IF EXISTS kek;
|
|
DROP TABLE IF EXISTS kekv;
|
|
|
|
CREATE TABLE kek (a UInt32) ENGINE = MergeTree ORDER BY a;
|
|
CREATE MATERIALIZED VIEW kekv ENGINE = MergeTree ORDER BY tuple() AS SELECT * FROM kek;
|
|
|
|
INSERT INTO kek VALUES (1);
|
|
DELETE FROM kekv WHERE a = 1; -- { serverError BAD_ARGUMENTS}
|
|
|
|
DELETE FROM kekv WHERE a = 1; -- { serverError BAD_ARGUMENTS}
|
|
|
|
DROP TABLE IF EXISTS kek;
|
|
DROP TABLE IF EXISTS kekv;
|