[MDEV-25990] Window frame is not allowed with 'ntile' function Created: 2021-06-22  Updated: 2023-04-27

Status: Open
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: 0
Labels: None


 Description   

KB lists NTILE as the function that could operate on window frames - https://mariadb.com/kb/en/window-frames/
but currently it returns error:

MariaDB [test]> SELECT ntile(1)    OVER (ORDER BY score RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)  FROM student_test;
ERROR 4017 (HY000): Window frame is not allowed with 'ntile'


Generated at Thu Feb 08 09:41:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.