Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ public static void checkAlterAllowed(OlapTable olapTable) throws DdlException {
&& 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.");
}
}

Expand Down