mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
18 lines
390 B
MySQL
18 lines
390 B
MySQL
|
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;
|