From c5b1c200a9bd7b212c5f9642c1b0fd42c14ec412 Mon Sep 17 00:00:00 2001 From: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:19:29 +0100 Subject: [PATCH] Update 02907_backup_restore_flatten_nested.sh --- .../0_stateless/02907_backup_restore_flatten_nested.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/02907_backup_restore_flatten_nested.sh b/tests/queries/0_stateless/02907_backup_restore_flatten_nested.sh index 4ec269695a4..a7d3ad23b1c 100755 --- a/tests/queries/0_stateless/02907_backup_restore_flatten_nested.sh +++ b/tests/queries/0_stateless/02907_backup_restore_flatten_nested.sh @@ -8,7 +8,7 @@ ${CLICKHOUSE_CLIENT} -nm --query " drop table if exists test; set flatten_nested = 0; create table test (test Array(Tuple(foo String, bar Float64))) ENGINE = MergeTree() ORDER BY tuple(); -backup table test on cluster test_shard_localhost to Disk('default', '${CLICKHOUSE_TEST_UNIQUE_NAME}'); +backup table test on cluster test_shard_localhost to Disk('backups', '${CLICKHOUSE_TEST_UNIQUE_NAME}'); " | grep -o "BACKUP_CREATED" ${CLICKHOUSE_CLIENT} --query "show create table test" @@ -16,7 +16,7 @@ ${CLICKHOUSE_CLIENT} --query "show create table test" ${CLICKHOUSE_CLIENT} -nm --query " drop table test sync; set flatten_nested = 1; -restore table test on cluster test_shard_localhost from Disk('default', '${CLICKHOUSE_TEST_UNIQUE_NAME}'); +restore table test on cluster test_shard_localhost from Disk('backups', '${CLICKHOUSE_TEST_UNIQUE_NAME}'); " | grep -o "RESTORED" ${CLICKHOUSE_CLIENT} --query "show create table test"