Skip to content

Commit

Permalink
Update another non deterministic test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Sep 9, 2021
1 parent e17c8b8 commit 6122563
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datafusion/tests/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,9 +1027,9 @@ async fn csv_query_window_with_partition_by() -> Result<()> {
count(cast(c4 as Int)) over (partition by c3), \
max(cast(c4 as Int)) over (partition by c3), \
min(cast(c4 as Int)) over (partition by c3), \
first_value(cast(c4 as Int)) over (partition by c3), \
last_value(cast(c4 as Int)) over (partition by c3), \
nth_value(cast(c4 as Int), 2) over (partition by c3) \
first_value(cast(c4 as Int)) over (partition by c3 order by c3, c4), \
last_value(cast(c4 as Int)) over (partition by c3 order by c3, c4), \
nth_value(cast(c4 as Int), 2) over (partition by c3 order by c3, c4) \
from aggregate_test_100 \
order by c9 \
limit 5";
Expand All @@ -1040,7 +1040,7 @@ async fn csv_query_window_with_partition_by() -> Result<()> {
"+-----------+-------------------------------------------+-------------------------------------------+---------------------------------------------+-------------------------------------------+-------------------------------------------+---------------------------------------------------+--------------------------------------------------+----------------------------------------------------------+",
"| 28774375 | -16110 | -16110 | 1 | -16110 | -16110 | -16110 | -16110 | |",
"| 63044568 | 3917 | 3917 | 1 | 3917 | 3917 | 3917 | 3917 | |",
"| 141047417 | -38455 | -19227.5 | 2 | -16974 | -21481 | -16974 | -21481 | |",
"| 141047417 | -38455 | -19227.5 | 2 | -16974 | -21481 | -21481 | -16974 | -16974 |",
"| 141680161 | -1114 | -1114 | 1 | -1114 | -1114 | -1114 | -1114 | |",
"| 145294611 | 15673 | 15673 | 1 | 15673 | 15673 | 15673 | 15673 | |",
"+-----------+-------------------------------------------+-------------------------------------------+---------------------------------------------+-------------------------------------------+-------------------------------------------+---------------------------------------------------+--------------------------------------------------+----------------------------------------------------------+",
Expand Down

0 comments on commit 6122563

Please sign in to comment.