should be it
This commit is contained in:
16
external/duckdb/test/fuzzer/pedro/window_self_reference.test
vendored
Normal file
16
external/duckdb/test/fuzzer/pedro/window_self_reference.test
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# name: test/fuzzer/pedro/window_self_reference.test
|
||||
# description: Window clause self-reference
|
||||
# group: [pedro]
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
statement error
|
||||
SELECT count(*) OVER w1 WINDOW w1 AS (ORDER BY count(*) OVER w1);
|
||||
----
|
||||
window functions are not allowed in window definitions
|
||||
|
||||
statement error
|
||||
SELECT count(*) OVER w1 WINDOW w1 AS (ORDER BY count(*) OVER w2), w2 AS (ORDER BY count(*) OVER w1);
|
||||
----
|
||||
window functions are not allowed in window definitions
|
||||
Reference in New Issue
Block a user