ClickHouse/tests/queries/0_stateless/02155_nested_lc_defalut_bug.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
380 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS nested_test;
CREATE TABLE nested_test (x UInt32, `nest.col1` Array(String), `nest.col2` Array(Int8)) ENGINE = MergeTree ORDER BY x;
ALTER TABLE nested_test ADD COLUMN `nest.col3` Array(LowCardinality(String));
INSERT INTO nested_test (x, `nest.col1`, `nest.col2`) values (1, ['a', 'b'], [3, 4]);
SELECT * FROM nested_test;
DROP TABLE IF EXISTS nested_test;