[MDEV-9741] Window functions: support being in a subquery Created: 2016-03-16 Updated: 2023-12-05 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Fix Version/s: | 10.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.0-9 | ||||||||
| Description |
|
Current code assumes that window function computation is a once-in-a-query This task is separate the computations into
Also, all 'cursor' objects must be created at stage #1. |
| Comments |
| Comment by Sergei Petrunia [ 2016-03-17 ] |
|
Note: we free all that we allocate, so you don't get crashes when running window functions in a dependent subquery currently. You may get O(#subquery_executions) memory consumption, though. |
| Comment by Vicențiu Ciorbaru [ 2016-09-06 ] |
|
|
| Comment by Julien Fritsch [ 2023-12-05 ] |
|
Automated message: |