mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
check-style: allow currentDatabase() for ReplicatedMergeTree definition too
This commit is contained in:
parent
09fa82c244
commit
3cda5960ec
@ -134,7 +134,7 @@ for test_case in "${tests_with_replicated_merge_tree[@]}"; do
|
||||
grep -q -e "ReplicatedMergeTree[ ]*(.*$test_case_zk_prefix" "$test_case" || echo "ReplicatedMergeTree should contain '$test_case_zk_prefix' in zookeeper path to avoid overlaps ($test_case)"
|
||||
;;
|
||||
*.sql|*.sql.j2)
|
||||
test_case_zk_prefix="{database}"
|
||||
test_case_zk_prefix="\({database}\|currentDatabase()\)"
|
||||
grep -q -e "ReplicatedMergeTree[ ]*(.*$test_case_zk_prefix" "$test_case" || echo "ReplicatedMergeTree should contain '$test_case_zk_prefix' in zookeeper path to avoid overlaps ($test_case)"
|
||||
;;
|
||||
*.py)
|
||||
|
Loading…
Reference in New Issue
Block a user