Added test.

This commit is contained in:
Nikolai Kochetov 2018-11-28 20:13:38 +03:00
parent 540a99c93a
commit 14ff6ae6d4
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
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;