zerolbsony commented on code in PR #17425:
URL: https://github.com/apache/iotdb/pull/17425#discussion_r3877709129
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/thrift/ConfigNodeRPCServiceProcessor.java:
##########
@@ -537,6 +523,12 @@ public TSStatus setTimePartitionInterval(final
TSetTimePartitionIntervalReq req)
new SetTimePartitionIntervalPlan(req.getDatabase(),
req.getTimePartitionInterval()));
}
+ @Override
+ public TSStatus setTimePartitionOrigin(final TSetTimePartitionOriginReq req)
throws TException {
Review Comment:
Resolved
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ClusterSchemaInfo.java:
##########
@@ -280,11 +284,21 @@ public TSStatus alterDatabase(final DatabaseSchemaPlan
plan) {
currentSchema.isNeedLastCache());
}
+ if (alterSchema.isSetTimePartitionOrigin()) {
+
currentSchema.setTimePartitionOrigin(alterSchema.getTimePartitionOrigin());
Review Comment:
Resolved
--
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]