mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update 03022_alter_materialized_view_query_has_inner_table.sql
This commit is contained in:
parent
25201919a5
commit
7bdab05441
@ -2,7 +2,7 @@ DROP TABLE IF EXISTS src_table;
|
||||
DROP TABLE IF EXISTS mv;
|
||||
|
||||
CREATE TABLE src_table (`a` UInt32, `b` UInt32) ENGINE = MergeTree ORDER BY a;
|
||||
CREATE MATERIALIZED VIEW mv UUID '2bad6d75-86fe-4da0-815b-2c7410253941' (`a` UInt32) ENGINE = MergeTree ORDER BY a AS SELECT a FROM src_table;
|
||||
CREATE MATERIALIZED VIEW mv (`a` UInt32) ENGINE = MergeTree ORDER BY a AS SELECT a FROM src_table;
|
||||
|
||||
INSERT INTO src_table (a, b) VALUES (1, 1), (2, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user