ClickHouse/tests/queries/0_stateless/02017_columns_with_dot_2.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;