mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix test and additional case
This commit is contained in:
parent
0ac5132eb0
commit
aaa1063275
@ -1,4 +1,4 @@
|
|||||||
CREATE TABLE default.add_table\n(\n `key` UInt64, \n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
CREATE TABLE default.add_table\n(\n `key` UInt64,\n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
||||||
CREATE TABLE default.add_table\n(\n `key` UInt64, \n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
CREATE TABLE default.add_table\n(\n `key` UInt64,\n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
||||||
CREATE TABLE default.add_table\n(\n `key` UInt64, \n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
CREATE TABLE default.add_table\n(\n `key` UInt64,\n `value1` String\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
||||||
CREATE TABLE default.add_table\n(\n `key` UInt64, \n `value1` String, \n `value2` UInt64\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
CREATE TABLE default.add_table\n(\n `key` UInt64,\n `value1` String,\n `value2` UInt64\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|
||||||
|
@ -22,4 +22,6 @@ ALTER TABLE add_table ADD COLUMN IF NOT EXISTS value1 UInt64, ADD COLUMN IF NOT
|
|||||||
|
|
||||||
SHOW CREATE TABLE add_table;
|
SHOW CREATE TABLE add_table;
|
||||||
|
|
||||||
|
ALTER TABLE add_table ADD COLUMN value3 UInt64, ADD COLUMN IF NOT EXISTS value3 UInt32; --{serverError 44}
|
||||||
|
|
||||||
DROP TABLE IF EXISTS add_table;
|
DROP TABLE IF EXISTS add_table;
|
||||||
|
Loading…
Reference in New Issue
Block a user