Details
-
New Feature
-
Status: Closed
-
Blocker
-
Resolution: Implemented
-
None
-
None
Description
Right now, the Table API supports multiple consecutive windows as follows:
val table = stream.toTable(tEnv, 'rowtime.rowtime, 'int, 'double, 'float, 'bigdec, 'string) val t = table .window(Tumble over 2.millis on 'rowtime as 'w) .groupBy('w) .select('w.rowtime as 'rowtime, 'int.count as 'int) .window(Tumble over 4.millis on 'rowtime as 'w2) .groupBy('w2) .select('w2.rowtime, 'w2.end, 'int.count)
Similar behavior should be supported by the SQL API as well. We need to introduce a new auxiliary group function, but this should happen in sync with Apache Calcite.
Attachments
Issue Links
- is blocked by
-
FLINK-7024 Add supported for selecting window proctime/rowtime on row-based Tumble/Slide window
- Closed
- is related to
-
FLINK-6429 Bump up Calcite version to 1.13
- Resolved
- links to