mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Modified test [#CLICKHOUSE-2838].
This commit is contained in:
parent
e01c23267a
commit
cb67224b4f
@ -1,11 +0,0 @@
|
||||
CounterID UInt32
|
||||
StartDate Date
|
||||
UserID UInt32
|
||||
VisitID UInt32
|
||||
Added0 String
|
||||
Added1 UInt32
|
||||
Added2 UInt32
|
||||
AddedNested1.A Array(UInt32)
|
||||
AddedNested1.C Array(String)
|
||||
AddedNested2.A Array(UInt32)
|
||||
AddedNested2.B Array(UInt64)
|
@ -1,10 +0,0 @@
|
||||
ALTER TABLE alter_test DROP COLUMN ToDrop;
|
||||
|
||||
ALTER TABLE alter_test MODIFY COLUMN Added0 String;
|
||||
|
||||
ALTER TABLE alter_test DROP COLUMN NestedColumn.A;
|
||||
ALTER TABLE alter_test DROP COLUMN NestedColumn.S;
|
||||
|
||||
ALTER TABLE alter_test DROP COLUMN AddedNested1.B;
|
||||
|
||||
DESC TABLE alter_test;
|
@ -1 +0,0 @@
|
||||
1 2014-01-01 2 3 0 0 [] [] [] []
|
@ -1,3 +0,0 @@
|
||||
SELECT * FROM alter_test;
|
||||
|
||||
DROP TABLE alter_test;
|
@ -13,3 +13,15 @@ AddedNested1.B Array(UInt64)
|
||||
AddedNested1.C Array(String)
|
||||
AddedNested2.A Array(UInt32)
|
||||
AddedNested2.B Array(UInt64)
|
||||
CounterID UInt32
|
||||
StartDate Date
|
||||
UserID UInt32
|
||||
VisitID UInt32
|
||||
Added0 String
|
||||
Added1 UInt32
|
||||
Added2 UInt32
|
||||
AddedNested1.A Array(UInt32)
|
||||
AddedNested1.C Array(String)
|
||||
AddedNested2.A Array(UInt32)
|
||||
AddedNested2.B Array(UInt64)
|
||||
1 2014-01-01 2 3 0 0 [] [] [] []
|
@ -13,3 +13,18 @@ ALTER TABLE alter_test ADD COLUMN AddedNested1.C Array(String) AFTER AddedNested
|
||||
ALTER TABLE alter_test ADD COLUMN AddedNested2 Nested(A UInt32, B UInt64) AFTER AddedNested1;
|
||||
|
||||
DESC TABLE alter_test;
|
||||
|
||||
ALTER TABLE alter_test DROP COLUMN ToDrop;
|
||||
|
||||
ALTER TABLE alter_test MODIFY COLUMN Added0 String;
|
||||
|
||||
ALTER TABLE alter_test DROP COLUMN NestedColumn.A;
|
||||
ALTER TABLE alter_test DROP COLUMN NestedColumn.S;
|
||||
|
||||
ALTER TABLE alter_test DROP COLUMN AddedNested1.B;
|
||||
|
||||
DESC TABLE alter_test;
|
||||
|
||||
SELECT * FROM alter_test;
|
||||
|
||||
DROP TABLE alter_test;
|
Loading…
Reference in New Issue
Block a user