mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
6 lines
256 B
MySQL
6 lines
256 B
MySQL
|
DROP TABLE IF EXISTS data_01646;
|
||
|
CREATE TABLE data_01646 (x Date, s String) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01646/data_01646', 'r') ORDER BY s PARTITION BY x;
|
||
|
SYSTEM RESTART REPLICAS;
|
||
|
DESCRIBE TABLE data_01646;
|
||
|
DROP TABLE data_01646;
|