Skip to content

Commit b3cb21f

Browse files
authored
[AINode] Remove TimerXL from the builtin list (#15616)
1 parent 3ba8b0c commit b3cb21f

File tree

2 files changed

+0
-8
lines changed
  • integration-test/src/test/java/org/apache/iotdb/relational/it/schema
  • iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence

2 files changed

+0
-8
lines changed

integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,6 @@ public void testInformationSchema() throws SQLException {
579579
"_NaiveForecaster,",
580580
"_sundial,",
581581
"_HoltWinters,",
582-
"_TimerXL,",
583582
"_ExponentialSmoothing,",
584583
"_ARIMA,")));
585584

@@ -702,7 +701,6 @@ public void testInformationSchema() throws SQLException {
702701
new HashSet<>(
703702
Arrays.asList(
704703
"_sundial,",
705-
"_TimerXL,",
706704
"_STLForecaster,",
707705
"_NaiveForecaster,",
708706
"_HoltWinters,",

iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ public class ModelInfo implements SnapshotProcessor {
7474

7575
private static final Set<String> builtInAnomalyDetectionModel = new HashSet<>();
7676

77-
private static final int timerXLInputLength = 2880;
78-
7977
static {
80-
builtInForecastModel.add("_TimerXL");
8178
builtInForecastModel.add("_ARIMA");
8279
builtInForecastModel.add("_NaiveForecaster");
8380
builtInForecastModel.add("_STLForecaster");
@@ -273,9 +270,6 @@ public GetModelInfoResp getModelInfo(GetModelInfoPlan plan) {
273270
// check if it's a built-in model
274271
if ((modelType = checkModelType(modelName)) != ModelType.USER_DEFINED) {
275272
modelInformation = new ModelInformation(modelType, modelName);
276-
if (modelName.equalsIgnoreCase("_timerxl")) {
277-
modelInformation.setInputLength(timerXLInputLength);
278-
}
279273
} else {
280274
modelInformation = modelTable.getModelInformationById(modelName);
281275
}

0 commit comments

Comments
 (0)