ClickHouse/dbms/tests/queries/0_stateless/00563_shard_insert_into_remote.sql

9 lines
352 B
MySQL
Raw Normal View History

create database if not exists test;
drop table if exists test.tab;
create table test.tab (val UInt8) engine = Log;
2018-01-29 10:01:18 +00:00
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;