ClickHouse/dbms/tests/queries/0_stateless/00563_shard_insert_into_remote.sql
Nikolai Kochetov 966a7d819b fix test
2018-03-05 19:15:17 +03:00

9 lines
371 B
SQL

create database if not exists test;
drop table if exists test.tab;
create table test.tab (val UInt8) engine = MergeTree order by val;
insert into function remote('127.0.0.2', test.tab) values (1);
insert into function remote('127.0.0.{2|3}', test.tab) values (2);
insert into function remote('127.0.0.{2|3|4}', test.tab) values (3);
select * from test.tab order by val;