add test.

This commit is contained in:
zhangxiao871 2021-02-05 17:08:13 +08:00
parent 7738f86ec8
commit e00e7ae56e
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,7 @@
clickhouse
clickhouse
clickhouse
task_queue
clickhouse
task_queue
clickhouse
task_queue
ddl

View File

@ -1,3 +1,6 @@
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 ('/','/clickhouse');
SELECT name FROM system.zookeeper WHERE path IN (SELECT concat('/clickhouse/',name) FROM system.zookeeper WHERE (path = '/clickhouse/'));