mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
18 lines
390 B
SQL
18 lines
390 B
SQL
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;
|