ClickHouse/dbms/tests/queries/0_stateless/00763_create_query_as_table_engine_bug.sql

9 lines
347 B
MySQL
Raw Normal View History

2018-11-28 17:13:38 +00:00
drop table if exists test.t;
drop table if exists test.td;
create table test.t (val UInt32) engine = MergeTree order by val;
2018-11-29 08:19:14 +00:00
create table test.td engine = Distributed(test_shard_localhost, 'test', 't') as test.t;
2018-11-28 17:13:38 +00:00
select engine from system.tables where database = 'test' and name = 'td';
drop table if exists test.t;
drop table if exists test.td;