jt2594838 commented on code in PR #17079:
URL: https://github.com/apache/iotdb/pull/17079#discussion_r2937755906
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java:
##########
@@ -1492,12 +1498,37 @@ public synchronized Pair<TSStatus, TsTable>
tableCheckForRenaming(
null);
}
+ if (!originalTable.canAlterName()) {
+ return new Pair<>(
+ RpcUtils.getStatus(
+ TSStatusCode.SEMANTIC_ERROR,
+ String.format(
+ "Table '%s.%s' is created in a old version and cannot be
renamed, "
Review Comment:
Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]