mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Add missing DROP TABLE into 01056_create_table_as
Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
This commit is contained in:
parent
7d88218e9f
commit
425704e1d0
@ -5,12 +5,14 @@ DROP TABLE t2;
|
|||||||
|
|
||||||
-- live view
|
-- live view
|
||||||
SET allow_experimental_live_view=1;
|
SET allow_experimental_live_view=1;
|
||||||
CREATE LIVE VIEW v AS SELECT * FROM t1;
|
CREATE LIVE VIEW lv AS SELECT * FROM t1;
|
||||||
CREATE TABLE t3 AS v; -- { serverError 80; }
|
CREATE TABLE t3 AS lv; -- { serverError 80; }
|
||||||
|
DROP TABLE lv;
|
||||||
|
|
||||||
-- view
|
-- view
|
||||||
CREATE VIEW lv AS SELECT * FROM t1;
|
CREATE VIEW v AS SELECT * FROM t1;
|
||||||
CREATE TABLE t3 AS lv; -- { serverError 80; }
|
CREATE TABLE t3 AS v; -- { serverError 80; }
|
||||||
|
DROP TABLE v;
|
||||||
|
|
||||||
-- dictionary
|
-- dictionary
|
||||||
DROP DATABASE if exists test_01056_dict_data;
|
DROP DATABASE if exists test_01056_dict_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user