Details
-
Type:
Task
-
Status: In Progress (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Fix Version/s: 10.2
-
Component/s: Optimizer - Window functions
-
Labels:None
-
Sprint:10.2.0-9
Description
Current code assumes that window function computation is a once-in-a-query
event. It creates Item and Cached_item objects, and allocates things on
thd->mem_root.
This task is separate the computations into
- Stage #1: a part that is done once
- Stage #2: a part that is re-run for every select re-execution.
Also, all 'cursor' objects must be created at stage #1.
Attachments
Issue Links
- is part of
-
MDEV-6115 window functions as in the SQL standard
-
- Closed
-