From 0519142a1ca33674ad90d216d9b3b8cbbdc671b5 Mon Sep 17 00:00:00 2001 From: Jefffrey <22608443+Jefffrey@users.noreply.github.com> Date: Thu, 26 Oct 2023 07:25:09 +1100 Subject: [PATCH] Add simple window query to sqllogictest --- datafusion/sqllogictest/test_files/window.slt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/datafusion/sqllogictest/test_files/window.slt b/datafusion/sqllogictest/test_files/window.slt index 7226182cf3d0..213f6daaef3e 100644 --- a/datafusion/sqllogictest/test_files/window.slt +++ b/datafusion/sqllogictest/test_files/window.slt @@ -3378,3 +3378,10 @@ SELECT window1 AS (ORDER BY C3) ORDER BY C3 LIMIT 5 + + +# simple window query +query II +select sum(1) over() x, sum(1) over () y +---- +1 1