-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.0, 1.4.0
-
Component/s: Table SQL / API
-
Labels:None
SQL queries that apply a function or expression on a window auxiliary function (TUMBLE_START, TUMBLE_END, HOP_START, etc). cannot be translated and fail with a CodeGenException:
Exception in thread "main" org.apache.flink.table.codegen.CodeGenException: Unsupported call: TUMBLE_END
Example query:
SELECT a, toLong(TUMBLE_END(rowtime, INTERVAL '10' MINUTE)) AS t, COUNT(b) AS cntB FROM myTable GROUP BY a, TUMBLE(rowtime, INTERVAL '10' MINUTE)
- links to