[MDEV-19052] Range-type window frame supports only numeric datatype Created: 2019-03-26 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alice Sherepa | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Mysql/Postgres return:
Also range-type frame always expects ORDER BY clause:
Mysql 8.0.15:
|
| Comments |
| Comment by Alice Sherepa [ 2019-04-01 ] | |||||||||||||||||||
|
RANGE-type frame requires ORDER BY clause with single sort key, while in Mysql/Postgres this works:
| |||||||||||||||||||
| Comment by John Medeiros [ 2020-01-10 ] | |||||||||||||||||||
|
Same behavior founded. Version: 10.3.21-MariaDB. |