Skip to content

Commit

Permalink
chore: fix flaky tests (#14170)
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 authored Jan 17, 2025
1 parent 40d5158 commit 3082ac6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datafusion/sqllogictest/test_files/window.slt
Original file line number Diff line number Diff line change
Expand Up @@ -4959,7 +4959,7 @@ statement ok
INSERT INTO t VALUES (1,1), (1,2),(1,3),(2,1),(2,2);

query II
SELECT v1, NTH_VALUE(v2, null) OVER (PARTITION BY v1 ORDER BY v2) FROM t;
SELECT v1, NTH_VALUE(v2, null) OVER (PARTITION BY v1 ORDER BY v2) FROM t ORDER BY v1;
----
1 NULL
1 NULL
Expand All @@ -4968,7 +4968,7 @@ SELECT v1, NTH_VALUE(v2, null) OVER (PARTITION BY v1 ORDER BY v2) FROM t;
2 NULL

query II
SELECT v1, NTH_VALUE(v2, v2*null) OVER (PARTITION BY v1 ORDER BY v2) FROM t;
SELECT v1, NTH_VALUE(v2, v2*null) OVER (PARTITION BY v1 ORDER BY v2) FROM t ORDER BY v1;
----
1 NULL
1 NULL
Expand All @@ -4977,7 +4977,7 @@ SELECT v1, NTH_VALUE(v2, v2*null) OVER (PARTITION BY v1 ORDER BY v2) FROM t;
2 NULL

query II
SELECT v1, NTH_VALUE(v2, 0) OVER (PARTITION BY v1 ORDER BY v2) FROM t;
SELECT v1, NTH_VALUE(v2, 0) OVER (PARTITION BY v1 ORDER BY v2) FROM t ORDER BY v1;
----
1 NULL
1 NULL
Expand Down

0 comments on commit 3082ac6

Please sign in to comment.