Skip to content

Commit

Permalink
Issue duckdb#12600: Streaming Positive LEAD
Browse files Browse the repository at this point in the history
PR Feedback:
* Test with vector_size=2
  • Loading branch information
Richard Wesley committed Jun 27, 2024
1 parent 29018f5 commit 18b943b
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions test/sql/window/test_streaming_lead_lag.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# description: Streaming window functions
# group: [window]

require vector_size 2048

statement ok
PRAGMA enable_verification

Expand Down Expand Up @@ -209,3 +207,18 @@ FROM range(5000) tbl(i);
----
physical_plan <!REGEX>:.*STREAMING_WINDOW.*

# Test multiple, unequal LEADs
query III
SELECT i, LEAD(i, 1) OVER(), LEAD(i, 2) OVER()
FROM range(10) tbl(i)
----
0 1 2
1 2 3
2 3 4
3 4 5
4 5 6
5 6 7
6 7 8
7 8 9
8 9 NULL
9 NULL NULL

0 comments on commit 18b943b

Please sign in to comment.