ClickHouse/tests/queries/0_stateless/02292_nested_not_flattened_detach.sql

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

18 lines
390 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS t_nested_detach;
SET flatten_nested = 0;
CREATE TABLE t_nested_detach (n Nested(u UInt32, s String)) ENGINE = Log;
SHOW CREATE TABLE t_nested_detach;
DESC TABLE t_nested_detach;
SET flatten_nested = 1;
DETACH TABLE t_nested_detach;
ATTACH TABLE t_nested_detach;
SHOW CREATE TABLE t_nested_detach;
DESC TABLE t_nested_detach;
DROP TABLE IF EXISTS t_nested_detach;