From 90f5e5929d9990b75298ef5691f7f8a1bace127d Mon Sep 17 00:00:00 2001 From: w41ter Date: Mon, 9 Sep 2024 15:20:51 +0800 Subject: [PATCH] Skip AUTO PARTITION in doris 2.0 --- regression-test/suites/db-sync-common/test_db_sync.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regression-test/suites/db-sync-common/test_db_sync.groovy b/regression-test/suites/db-sync-common/test_db_sync.groovy index 725810de..3580ebfb 100644 --- a/regression-test/suites/db-sync-common/test_db_sync.groovy +++ b/regression-test/suites/db-sync-common/test_db_sync.groovy @@ -16,6 +16,11 @@ // under the License. suite("test_db_sync") { + def versions = sql_return_maparray "show variables like 'version_comment'" + if (versions[0].Value.contains('doris-2.0.')) { + logger.info("2.0 not support AUTO PARTITION, current version is: ${versions[0].Value}") + return + } def syncerAddress = "127.0.0.1:9190" def test_num = 0