mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Treat integer values in window definition ORDER BY clauses as constants, not as references to another expression.
FossilOrigin-Name: 7e4809eadfe99ebfd797a7c63501421021a720bbeed9fba81bebf630c58bb791
This commit is contained in:
@ -417,6 +417,13 @@ execsql_test 4.8.4 {
|
||||
) FROM t2 ORDER BY 1, 2;
|
||||
}
|
||||
|
||||
execsql_float_test 4.9 {
|
||||
SELECT
|
||||
rank() OVER win AS rank,
|
||||
cume_dist() OVER win AS cume_dist FROM t1
|
||||
WINDOW win AS (ORDER BY 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user