From ab0b4866989af479101f834f00b2ee526fb644a5 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Sun, 3 Dec 2023 14:52:33 -0800 Subject: [PATCH] Fix flaky test --- datafusion/sqllogictest/test_files/window.slt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/datafusion/sqllogictest/test_files/window.slt b/datafusion/sqllogictest/test_files/window.slt index ee5447618506..5db2836d84ad 100644 --- a/datafusion/sqllogictest/test_files/window.slt +++ b/datafusion/sqllogictest/test_files/window.slt @@ -3742,20 +3742,18 @@ DROP TABLE score_board; query error DataFusion error: Error during planning: RANGE requires exactly one ORDER BY column select a, rank() over (partition by a order by a, a + 1 RANGE UNBOUNDED PRECEDING) rnk - from (select 1 a union all select 2 a) q + from (select 1 a) q query II select a, rank() over (partition by a order by a RANGE UNBOUNDED PRECEDING) rnk - from (select 1 a union all select 2 a) q + from (select 1 a) q ---- 1 1 -2 1 query II select a, rank() over (partition by a RANGE UNBOUNDED PRECEDING) rnk - from (select 1 a union all select 2 a) q + from (select 1 a) q ---- 1 1 -2 1