mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
19 lines
368 B
SQL
19 lines
368 B
SQL
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;
|