This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit a19a53b44091e1be4e94f927cb7058458e8ab733
Author: Liqf <109049295+lemonlit...@users.noreply.github.com>
AuthorDate: Mon Sep 11 10:25:06 2023 +0800

    [typo](errmsg) Improve partition error message (#23968)
---
 .../main/java/org/apache/doris/common/util/DynamicPartitionUtil.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/util/DynamicPartitionUtil.java
 
b/fe/fe-core/src/main/java/org/apache/doris/common/util/DynamicPartitionUtil.java
index 274e1a3e15..fcd578d9bc 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/common/util/DynamicPartitionUtil.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/common/util/DynamicPartitionUtil.java
@@ -674,7 +674,8 @@ public class DynamicPartitionUtil {
                 && tableProperty.getDynamicPartitionProperty().isExist()
                 && tableProperty.getDynamicPartitionProperty().getEnable()) {
             throw new DdlException("Cannot add/drop partition on a Dynamic 
Partition Table, "
-                    + "Use command `ALTER TABLE tbl_name SET 
(\"dynamic_partition.enable\" = \"false\")` firstly.");
+                    + "Use command `ALTER TABLE " + olapTable.getName()
+                    + " SET (\"dynamic_partition.enable\" = \"false\")` 
firstly.");
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to