Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.4
-
None
-
Unexpected results
Description
COUNT/SUM/AVG over an empty RANGE frame (start bound after end bound) return non-empty results. Every frame below is empty, so the expected result is COUNT = 0 and SUM/AVG/MAX = NULL on every row. MAX is included as a control: it returns the correct NULL.
See the SQL script attached.
Attachments
Issue Links
- relates to
-
MDEV-10838 Avoiding computation when window frame is always empty
-
- In Review
-