You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL NTILE window function:
NTILE(N) - Divides a partition into N groups (buckets), assigns each row in the partition its bucket number.
Expected Behavior
Expected behavior:
According to MySQL documentation, the window function should return correct results.
Current Behavior in MatrixOne
This function is not implemented in MatrixOne.
Error Message: (1064, 'SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 20 near "
Test Case
SELECT NTILE(2) OVER (ORDER BY val) AS result FROM (SELECT1AS val UNIONSELECT2UNIONSELECT3UNIONSELECT4) AS t
Activity
Ariznawlll commentedon May 7, 2026
https://github.com/matrixorigin/mo-nightly-regression/tree/big_data/tools/mo-regression-test/cases/big_data_test/07_WINDOW
大数据case 已添加,后续有别的问题新开issue跟踪