Update 02482_load_parts_refcounts.sh

This commit is contained in:
Alexander Tokmakov 2023-01-25 16:33:52 +03:00 committed by GitHub
parent 59528cfca0
commit dc8ff4349b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,8 @@ query_with_retry "
SELECT throwIf(count() == 0) FROM system.parts SELECT throwIf(count() == 0) FROM system.parts
WHERE database = '$CLICKHOUSE_DATABASE' AND table = 'load_parts_refcounts' AND NOT active FORMAT Null" WHERE database = '$CLICKHOUSE_DATABASE' AND table = 'load_parts_refcounts' AND NOT active FORMAT Null"
$CLICKHOUSE_CLIENT --query "SYSTEM WAIT LOADING PARTS load_parts_refcounts"
$CLICKHOUSE_CLIENT --query " $CLICKHOUSE_CLIENT --query "
SELECT DISTINCT refcount FROM system.parts SELECT DISTINCT refcount FROM system.parts
WHERE database = '$CLICKHOUSE_DATABASE' AND table = 'load_parts_refcounts' AND NOT active" WHERE database = '$CLICKHOUSE_DATABASE' AND table = 'load_parts_refcounts' AND NOT active"