Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
This issue aims to generate optimized plan for Over aggregate queries on both Batch and Stream, e.g.
SELECT a, b, c, RANK() OVER (PARTITION BY b ORDER BY c) FROM MyTable
currently, Stream requires all over aggregate functions must be computed on the same window, e.g.
SELECT c, COUNT(a) OVER (PARTITION BY c ORDER BY proctime RANGE UNBOUNDED PRECEDING), SUM(a) OVER (PARTITION BY b ORDER BY proctime RANGE UNBOUNDED PRECEDING) from MyTable
the above sql is not supported because the partition keys are different.
Batch does not have such limitation.
Attachments
Issue Links
- is a child of
-
FLINK-11488 Add a basic Blink planner framework
- Closed
- links to