You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2025/06/10 15:27:21 UTC

(iotdb) branch sundial-codes created (now aeca83383be)

This is an automated email from the ASF dual-hosted git repository.

yongzao pushed a change to branch sundial-codes
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at aeca83383be finish

This branch includes the following new commits:

     new aeca83383be finish

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iotdb) 01/01: finish

Posted by yo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yongzao pushed a commit to branch sundial-codes
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit aeca83383bed94793ac83ef29a5891a19c18f1d8
Author: Yongzao <53...@qq.com>
AuthorDate: Tue Jun 10 23:27:12 2025 +0800

    finish
---
 .../java/org/apache/iotdb/confignode/manager/ConfigManager.java     | 2 +-
 .../plan/execution/config/metadata/ai/CreateTrainingTask.java       | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
index cbd67795774..e596ac09c48 100644
--- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
+++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
@@ -2685,7 +2685,7 @@ public class ConfigManager implements IManager {
 
     TTrainingReq trainingReq = new TTrainingReq();
     trainingReq.setModelId(req.getModelId());
-    trainingReq.setModelType("timer_xl");
+    trainingReq.setModelType("sundial");
     if (req.existingModelId != null) {
       trainingReq.setExistingModelId(req.getExistingModelId());
     }
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/metadata/ai/CreateTrainingTask.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/metadata/ai/CreateTrainingTask.java
index 84a6aa45f6d..91d3258dba1 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/metadata/ai/CreateTrainingTask.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/metadata/ai/CreateTrainingTask.java
@@ -53,9 +53,6 @@ public class CreateTrainingTask implements IConfigTask {
       String existingModelId,
       List<String> targetTables,
       List<String> targetDbs) {
-    if (!modelType.equalsIgnoreCase("timer_xl")) {
-      throw new UnsupportedOperationException("Only TimerXL model is supported now.");
-    }
     this.modelId = modelId;
     this.modelType = modelType;
     this.parameters = parameters;
@@ -76,9 +73,6 @@ public class CreateTrainingTask implements IConfigTask {
       List<List<Long>> timeRanges,
       String existingModelId,
       List<String> targetPaths) {
-    if (!modelType.equalsIgnoreCase("timer_xl")) {
-      throw new UnsupportedOperationException("Only TimerXL model is supported now.");
-    }
     this.modelId = modelId;
     this.modelType = modelType;
     this.parameters = parameters;