mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 23:41:01 +00:00
8 lines
333 B
SQL
8 lines
333 B
SQL
drop table if exists t;
|
|
drop table if exists td;
|
|
create table t (val UInt32) engine = MergeTree order by val;
|
|
create table td engine = Distributed(test_shard_localhost, currentDatabase(), 't') as t;
|
|
select engine from system.tables where database = currentDatabase() and name = 'td';
|
|
drop table if exists t;
|
|
drop table if exists td;
|