mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
9 lines
339 B
MySQL
9 lines
339 B
MySQL
|
drop table if exists test.t;
|
||
|
drop table if exists test.td;
|
||
|
create table test.t (val UInt32) engine = MergeTree order by val;
|
||
|
create table test.td engine = Distributed(test_cluster, 'test', 't') as test.t;
|
||
|
select engine from system.tables where database = 'test' and name = 'td';
|
||
|
drop table if exists test.t;
|
||
|
drop table if exists test.td;
|
||
|
|