This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new b3cb21fe86a [AINode] Remove TimerXL from the builtin list (#15616)
b3cb21fe86a is described below
commit b3cb21fe86a7c40e4816e6787992034cfe3a6d6b
Author: Yongzao <[email protected]>
AuthorDate: Fri May 30 00:29:04 2025 +0800
[AINode] Remove TimerXL from the builtin list (#15616)
---
.../java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java | 2 --
.../java/org/apache/iotdb/confignode/persistence/ModelInfo.java | 6 ------
2 files changed, 8 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
index 1956aa58222..eb835eb44c2 100644
---
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
@@ -579,7 +579,6 @@ public class IoTDBDatabaseIT {
"_NaiveForecaster,",
"_sundial,",
"_HoltWinters,",
- "_TimerXL,",
"_ExponentialSmoothing,",
"_ARIMA,")));
@@ -702,7 +701,6 @@ public class IoTDBDatabaseIT {
new HashSet<>(
Arrays.asList(
"_sundial,",
- "_TimerXL,",
"_STLForecaster,",
"_NaiveForecaster,",
"_HoltWinters,",
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java
index 8f00fde8773..0a5a7d235c1 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java
@@ -74,10 +74,7 @@ public class ModelInfo implements SnapshotProcessor {
private static final Set<String> builtInAnomalyDetectionModel = new
HashSet<>();
- private static final int timerXLInputLength = 2880;
-
static {
- builtInForecastModel.add("_TimerXL");
builtInForecastModel.add("_ARIMA");
builtInForecastModel.add("_NaiveForecaster");
builtInForecastModel.add("_STLForecaster");
@@ -273,9 +270,6 @@ public class ModelInfo implements SnapshotProcessor {
// check if it's a built-in model
if ((modelType = checkModelType(modelName)) != ModelType.USER_DEFINED) {
modelInformation = new ModelInformation(modelType, modelName);
- if (modelName.equalsIgnoreCase("_timerxl")) {
- modelInformation.setInputLength(timerXLInputLength);
- }
} else {
modelInformation = modelTable.getModelInformationById(modelName);
}