From 18b943ba0f52be59def774df6b7d7d57e4de5cf7 Mon Sep 17 00:00:00 2001 From: Richard Wesley Date: Thu, 27 Jun 2024 15:15:40 -0700 Subject: [PATCH] Issue #12600: Streaming Positive LEAD PR Feedback: * Test with vector_size=2 --- test/sql/window/test_streaming_lead_lag.test | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/test/sql/window/test_streaming_lead_lag.test b/test/sql/window/test_streaming_lead_lag.test index 951996c0308..143813a6d8b 100644 --- a/test/sql/window/test_streaming_lead_lag.test +++ b/test/sql/window/test_streaming_lead_lag.test @@ -2,8 +2,6 @@ # description: Streaming window functions # group: [window] -require vector_size 2048 - statement ok PRAGMA enable_verification @@ -209,3 +207,18 @@ FROM range(5000) tbl(i); ---- physical_plan :.*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