mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
CLICKHOUSE-3837 fix tests
This commit is contained in:
parent
2854818378
commit
bb5d8db9a1
@ -1,9 +0,0 @@
|
||||
DROP TABLE IF EXISTS test.remote_test;
|
||||
CREATE TABLE test.remote_test(a1 UInt8) ENGINE=Memory;
|
||||
INSERT INTO FUNCTION remote('127.0.0.1', test.remote_test) VALUES(1);
|
||||
INSERT INTO FUNCTION remote('127.0.0.1', test.remote_test) VALUES(2);
|
||||
INSERT INTO FUNCTION remote('127.0.0.1', test.remote_test) VALUES(3);
|
||||
INSERT INTO FUNCTION remote('127.0.0.1', test.remote_test) VALUES(4);
|
||||
SELECT COUNT(*) FROM remote('127.0.0.1', test.remote_test);
|
||||
SELECT count(*) FROM remote('127.0.0.1', merge(test, '^remote_test'));
|
||||
DROP TABLE test.remote_test;
|
@ -0,0 +1,9 @@
|
||||
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);
|
||||
SELECT count(*) FROM remote('127.0.0.{1,2}', merge(default, '^remote_test'));
|
||||
DROP TABLE test.remote_test;
|
Loading…
Reference in New Issue
Block a user