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