You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@
58
58
importjava.util.ArrayList;
59
59
importjava.util.Arrays;
60
60
importjava.util.Collections;
61
+
importjava.util.Comparator;
61
62
importjava.util.HashMap;
62
63
importjava.util.HashSet;
63
64
importjava.util.LinkedList;
@@ -275,7 +276,7 @@ public TableFunctionAnalysis analyze(Map<String, Argument> arguments) {
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/TableFunctionTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -356,7 +356,7 @@ public void testForecastFunction() {
356
356
357
357
Stringsql =
358
358
"SELECT * FROM FORECAST("
359
-
+ "input => (SELECT time,s3 FROM table1 WHERE tag1='shanghai' AND tag2='A3' AND tag3='YY' ORDER BY time DESC LIMIT 1440), "
359
+
+ "targets => (SELECT time,s3 FROM table1 WHERE tag1='shanghai' AND tag2='A3' AND tag3='YY' ORDER BY time DESC LIMIT 1440), "
0 commit comments