mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
10 lines
267 B
MySQL
10 lines
267 B
MySQL
|
DROP TABLE IF EXISTS t_ttl_move_if_exists;
|
||
|
|
||
|
CREATE TABLE t_ttl_move_if_exists (d DateTime, a UInt32)
|
||
|
ENGINE = MergeTree ORDER BY tuple()
|
||
|
TTL d TO DISK IF EXISTS 'non_existing_disk';
|
||
|
|
||
|
SHOW CREATE TABLE t_ttl_move_if_exists;
|
||
|
|
||
|
DROP TABLE IF EXISTS t_ttl_move_if_exists;
|