20 lines
477 B
SQL
20 lines
477 B
SQL
# name: test/fuzzer/duckfuzz/ordagg_nargs.test
|
|
# description: Ordered Aggregates with > 1 argument
|
|
# group: [duckfuzz]
|
|
|
|
statement ok
|
|
create table all_types as
|
|
select * exclude(small_enum, medium_enum, large_enum)
|
|
from test_all_types()
|
|
limit 0;
|
|
|
|
statement ok
|
|
SELECT cume_dist() OVER (ROWS
|
|
BETWEEN UNBOUNDED PRECEDING
|
|
AND regr_sxx(6311, 8320
|
|
ORDER BY 1726 ASC NULLS FIRST,
|
|
10101,
|
|
(946 BETWEEN 2053 AND 182) DESC NULLS LAST)
|
|
FILTER (WHERE 118) PRECEDING
|
|
)
|