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 2c9064ff67c [AINode] Adjust the maximum inference input length (#16640)
2c9064ff67c is described below

commit 2c9064ff67c44820c885554f74f4c218e1d6e5a4
Author: Yongzao <[email protected]>
AuthorDate: Wed Oct 22 18:04:50 2025 +0800

    [AINode] Adjust the maximum inference input length (#16640)
---
 .../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,

Reply via email to