From 85f839f985265f426c98aaa575a2d081a4d9cc14 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:35:16 +0800 Subject: [PATCH] branch-3.0: [enhancement](log) logout tablename with temp partitions in backup (#42549) Co-authored-by: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com> --- .../main/java/org/apache/doris/backup/BackupHandler.java | 6 +++--- .../test_backup_restore_backup_temp_partition.groovy | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java index e6687a95ebe5bd..282b549c5df352 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java +++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java @@ -421,14 +421,14 @@ private void backup(Repository repository, Database db, BackupStmt stmt) throws try { if (olapTbl.existTempPartitions()) { ErrorReport.reportDdlException(ErrorCode.ERR_COMMON_ERROR, - "Do not support backup table with temp partitions"); + "Do not support backup table " + olapTbl.getName() + " with temp partitions"); } PartitionNames partitionNames = tblRef.getPartitionNames(); if (partitionNames != null) { if (partitionNames.isTemp()) { ErrorReport.reportDdlException(ErrorCode.ERR_COMMON_ERROR, - "Do not support backup temp partitions"); + "Do not support backup temp partitions in table " + tblRef.getName()); } for (String partName : partitionNames.getPartitionNames()) { @@ -669,7 +669,7 @@ public void checkAndFilterRestoreOlapTableExistInSnapshot(Map