mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #20449 from ClickHouse/fix_bad_test
Fix 01700_system_zookeeper_path_in
This commit is contained in:
commit
abb7c88b80
@ -1,7 +1,16 @@
|
|||||||
clickhouse
|
block_numbers
|
||||||
task_queue
|
blocks
|
||||||
clickhouse
|
1
|
||||||
task_queue
|
========
|
||||||
clickhouse
|
block_numbers
|
||||||
task_queue
|
blocks
|
||||||
ddl
|
1
|
||||||
|
========
|
||||||
|
block_numbers
|
||||||
|
blocks
|
||||||
|
========
|
||||||
|
1
|
||||||
|
failed_parts
|
||||||
|
last_part
|
||||||
|
leader_election-0000000000
|
||||||
|
parallel
|
||||||
|
@ -1,6 +1,19 @@
|
|||||||
SELECT name FROM system.zookeeper WHERE path = '/';
|
DROP TABLE IF EXISTS sample_table;
|
||||||
SELECT name FROM system.zookeeper WHERE path = 'clickhouse';
|
|
||||||
SELECT name FROM system.zookeeper WHERE path IN ('/');
|
CREATE TABLE sample_table (
|
||||||
SELECT name FROM system.zookeeper WHERE path IN ('clickhouse');
|
key UInt64
|
||||||
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/'));
|
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