mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
19 lines
368 B
MySQL
19 lines
368 B
MySQL
|
DROP TABLE IF EXISTS test_nested;
|
||
|
|
||
|
CREATE TABLE test_nested
|
||
|
(
|
||
|
`id` String,
|
||
|
`with_dot.str` String,
|
||
|
`with_dot.array` Array(Int32)
|
||
|
)
|
||
|
ENGINE = MergeTree()
|
||
|
ORDER BY id;
|
||
|
|
||
|
INSERT INTO test_nested VALUES('123', 'asd', [1,2]);
|
||
|
SELECT * FROM test_nested;
|
||
|
|
||
|
ALTER TABLE test_nested ADD COLUMN `with_dot.bool` UInt8;
|
||
|
SELECT * FROM test_nested;
|
||
|
|
||
|
DROP TABLE test_nested;
|