Skip to content

Commit 2c9064f

Browse files
authored
[AINode] Adjust the maximum inference input length (apache#16640)
1 parent fd98737 commit 2c9064f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public int hashCode() {
207207
private static final String IS_INPUT_COLUMN_NAME = "is_input";
208208
private static final String OPTIONS_PARAMETER_NAME = "MODEL_OPTIONS";
209209
private static final String DEFAULT_OPTIONS = "";
210-
private static final int MAX_INPUT_LENGTH = 1440;
210+
private static final int MAX_INPUT_LENGTH = 2880;
211211

212212
private static final String INVALID_OPTIONS_FORMAT = "Invalid options: %s";
213213

iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public void testForecastFunction() {
372372
.handle(
373373
new ForecastTableFunction.ForecastTableFunctionHandle(
374374
false,
375-
1440,
375+
2880,
376376
"timer_xl",
377377
Collections.emptyMap(),
378378
96,
@@ -433,7 +433,7 @@ public void testForecastFunctionWithNoLowerCase() {
433433
.handle(
434434
new ForecastTableFunction.ForecastTableFunctionHandle(
435435
false,
436-
1440,
436+
2880,
437437
"timer_xl",
438438
Collections.emptyMap(),
439439
96,

0 commit comments

Comments
 (0)