mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
add test.
This commit is contained in:
parent
c03f126057
commit
8a2b8647e4
@ -184,6 +184,12 @@
|
|||||||
<port>9000</port>
|
<port>9000</port>
|
||||||
</replica>
|
</replica>
|
||||||
</shard>
|
</shard>
|
||||||
|
<shard>
|
||||||
|
<replica>
|
||||||
|
<host>10.26.9.232</host>
|
||||||
|
<port>9001</port>
|
||||||
|
</replica>
|
||||||
|
</shard>
|
||||||
</test_shard_localhost>
|
</test_shard_localhost>
|
||||||
<test_cluster_two_shards_localhost>
|
<test_cluster_two_shards_localhost>
|
||||||
<shard>
|
<shard>
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1,9 @@
|
|||||||
|
DROP TABLE IF EXISTS test_count;
|
||||||
|
|
||||||
|
CREATE TABLE test_count (`pt` Date) ENGINE = MergeTree PARTITION BY pt ORDER BY pt SETTINGS index_granularity = 8192;
|
||||||
|
|
||||||
|
INSERT INTO test_count values ('2019-12-12');
|
||||||
|
|
||||||
|
SELECT count(1) FROM remote('127.0.0.{1,1,2}',default,test_count);
|
||||||
|
|
||||||
|
DROP TABLE test_count;
|
Loading…
Reference in New Issue
Block a user