mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Several cases with alters
This commit is contained in:
parent
e63bb9a4a7
commit
6d7eb583a5
@ -10,6 +10,12 @@ CREATE TABLE table_with_cyclic_defaults (a DEFAULT b, b DEFAULT c, c DEFAULT a *
|
||||
|
||||
CREATE TABLE table_with_cyclic_defaults (a String DEFAULT b, b String DEFAULT a) ENGINE = Memory; --{serverError 174}
|
||||
|
||||
CREATE TABLE table_with_cyclic_defaults (a String) ENGINE = Memory;
|
||||
|
||||
ALTER TABLE table_with_cyclic_defaults ADD COLUMN c String DEFAULT b, ADD COLUMN b String DEFAULT c; --{serverError 174}
|
||||
|
||||
ALTER TABLE table_with_cyclic_defaults ADD COLUMN b String DEFAULT a, MODIFY COLUMN a DEFAULT b; --{serverError 174}
|
||||
|
||||
SELECT 1;
|
||||
|
||||
DROP TABLE IF EXISTS table_with_cyclic_defaults;
|
||||
|
Loading…
Reference in New Issue
Block a user