[typo](errmsg) Improve partition error message (#23968)
This commit is contained in:
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user