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/12/16 05:58:44 UTC
(iotdb) 07/14: [AINode] Adjust the maximum inference input length (#16640)
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch cp-ain-to-206
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 26f0628c64bf64fca05c7b3438df028a536fd80b
Author: Yongzao <yo...@apache.org>
AuthorDate: Wed Oct 22 18:04:50 2025 +0800
[AINode] Adjust the maximum inference input length (#16640)
(cherry picked from commit 2c9064ff67c44820c885554f74f4c218e1d6e5a4)
---
.../plan/relational/function/tvf/ForecastTableFunction.java | 2 +-
.../db/queryengine/plan/relational/analyzer/TableFunctionTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java
index b7dc5053c3f..5521062a24e 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java
@@ -207,7 +207,7 @@ public class ForecastTableFunction implements TableFunction {
private static final String IS_INPUT_COLUMN_NAME = "is_input";
private static final String OPTIONS_PARAMETER_NAME = "MODEL_OPTIONS";
private static final String DEFAULT_OPTIONS = "";
- private static final int MAX_INPUT_LENGTH = 1440;
+ private static final int MAX_INPUT_LENGTH = 2880;
private static final String INVALID_OPTIONS_FORMAT = "Invalid options: %s";
diff --git a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java
index 081d334a0c1..e56b48936b9 100644
--- a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java
+++ b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java
@@ -372,7 +372,7 @@ public class TableFunctionTest {
.handle(
new ForecastTableFunction.ForecastTableFunctionHandle(
false,
- 1440,
+ 2880,
"timer_xl",
Collections.emptyMap(),
96,
@@ -433,7 +433,7 @@ public class TableFunctionTest {
.handle(
new ForecastTableFunction.ForecastTableFunctionHandle(
false,
- 1440,
+ 2880,
"timer_xl",
Collections.emptyMap(),
96,