提交 5c4b4e96 编写于 作者: V VadimPE

CLICKHOUSE-3837 fix test

上级 bb5d8db9
DROP TABLE IF EXISTS remote_test;
CREATE TABLE remote_test(a1 UInt8) ENGINE=Memory;
INSERT INTO FUNCTION remote('127.0.0.{1,2}', default.remote_test) VALUES(1);
INSERT INTO FUNCTION remote('127.0.0.{1,2}', default.remote_test) VALUES(2);
INSERT INTO FUNCTION remote('127.0.0.{1,2}', default.remote_test) VALUES(3);
INSERT INTO FUNCTION remote('127.0.0.{1,2}', default.remote_test) VALUES(4);
SELECT COUNT(*) FROM remote('127.0.0.{1,2}', default.remote_test);
INSERT INTO FUNCTION remote('127.0.0.1', default.remote_test) VALUES(1);
INSERT INTO FUNCTION remote('127.0.0.1', default.remote_test) VALUES(2);
INSERT INTO FUNCTION remote('127.0.0.1', default.remote_test) VALUES(3);
INSERT INTO FUNCTION remote('127.0.0.1', default.remote_test) VALUES(4);
SELECT COUNT(*) FROM remote('127.0.0.1', default.remote_test);
SELECT count(*) FROM remote('127.0.0.{1,2}', merge(default, '^remote_test'));
DROP TABLE test.remote_test;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册