[typo](errmsg) Improve partition error message (#23968)

This commit is contained in:
Liqf
2023-09-11 10:25:06 +08:00
committed by GitHub
parent cd13f9e8c6
commit 480fcef0a1

View File

@ -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.");
}
}