mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix dependent test
This commit is contained in:
parent
939a3e9555
commit
051c9533b9
@ -1,7 +1,16 @@
|
||||
clickhouse
|
||||
task_queue
|
||||
clickhouse
|
||||
task_queue
|
||||
clickhouse
|
||||
task_queue
|
||||
ddl
|
||||
block_numbers
|
||||
blocks
|
||||
1
|
||||
========
|
||||
block_numbers
|
||||
blocks
|
||||
1
|
||||
========
|
||||
block_numbers
|
||||
blocks
|
||||
========
|
||||
1
|
||||
failed_parts
|
||||
last_part
|
||||
leader_election-0000000000
|
||||
parallel
|
||||
|
@ -1,6 +1,19 @@
|
||||
SELECT name FROM system.zookeeper WHERE path = '/';
|
||||
SELECT name FROM system.zookeeper WHERE path = 'clickhouse';
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('/');
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('clickhouse');
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('/','/clickhouse');
|
||||
SELECT name FROM system.zookeeper WHERE path IN (SELECT concat('/clickhouse/',name) FROM system.zookeeper WHERE (path = '/clickhouse/'));
|
||||
DROP TABLE IF EXISTS sample_table;
|
||||
|
||||
CREATE TABLE sample_table (
|
||||
key UInt64
|
||||
)
|
||||
ENGINE ReplicatedMergeTree('/clickhouse/01700_system_zookeeper_path_in', '1')
|
||||
ORDER BY tuple();
|
||||
|
||||
SELECT name FROM system.zookeeper WHERE path = '/clickhouse/01700_system_zookeeper_path_in' AND name like 'block%' ORDER BY name;
|
||||
SELECT name FROM system.zookeeper WHERE path = '/clickhouse/01700_system_zookeeper_path_in/replicas' ORDER BY name;
|
||||
SELECT '========';
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('/clickhouse/01700_system_zookeeper_path_in') AND name LIKE 'block%' ORDER BY name;
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('/clickhouse/01700_system_zookeeper_path_in/replicas') ORDER BY name;
|
||||
SELECT '========';
|
||||
SELECT name FROM system.zookeeper WHERE path IN ('/clickhouse/01700_system_zookeeper_path_in','/clickhouse/01700_system_zookeeper_path_in/replicas') AND name LIKE 'block%' ORDER BY name;
|
||||
SELECT '========';
|
||||
SELECT name FROM system.zookeeper WHERE path IN (SELECT concat('/clickhouse/01700_system_zookeeper_path_in/', name) FROM system.zookeeper WHERE (path = '/clickhouse/01700_system_zookeeper_path_in')) ORDER BY name;
|
||||
|
||||
DROP TABLE IF EXISTS sample_table;
|
||||
|
Loading…
Reference in New Issue
Block a user