[MDEV-9746] Window functions: CUME_DIST function Created: 2016-03-16 Updated: 2016-04-14 Resolved: 2016-03-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Fix Version/s: | 10.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.0-9 | ||||||||
| Description |
|
CUME_DIST is a bit special. It needs to either 1. remember a value for each peer group somewhere, Details:
How to compute these? 2. On the second pass, we need Possible ways to do step#2:
B: Use two cursors.
|
| Comments |
| Comment by Sergei Petrunia [ 2016-03-16 ] |
|
I like the two-cursor approach better.
|