mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
12 lines
445 B
SQL
12 lines
445 B
SQL
drop table if exists tp;
|
|
|
|
create table tp (x Int32, y Int32, projection p (select x, y order by x)) engine = MergeTree order by y;
|
|
|
|
alter table tp drop projection pp; -- { serverError NO_SUCH_PROJECTION_IN_TABLE }
|
|
alter table tp drop projection if exists pp;
|
|
alter table tp drop projection if exists p;
|
|
alter table tp drop projection p; -- { serverError NO_SUCH_PROJECTION_IN_TABLE }
|
|
alter table tp drop projection if exists p;
|
|
|
|
drop table tp;
|