Skip to content

Commit

Permalink
Simplify query
Browse files Browse the repository at this point in the history
  • Loading branch information
rmn-boiko committed Oct 14, 2024
1 parent 2f69f58 commit 6bb9c99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/e2e/app/cli/common/src/kamu_api_server_client_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub const DATASET_DERIVATIVE_LEADERBOARD_SNAPSHOT_STR: &str = indoc::indoc!(
*
from (
select
row_number() over (partition by 1 order by score desc) as place,
row_number() over (order by score desc) as place,
match_time,
match_id,
player_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub async fn test_inspect_query(kamu: KamuCliPuppet) {
*
from (
select
row_number() over (partition by 1 order by score desc) as place,
row_number() over (order by score desc) as place,
match_time,
match_id,
player_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ pub async fn test_log(kamu: KamuCliPuppet) {
*
from (
select
row_number() over (partition by 1 order by score desc) as place,
row_number() over (order by score desc) as place,
match_time,
match_id,
player_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub async fn test_search_multi_user(kamu_node_api_client: KamuApiServerClient) {
*
from (
select
row_number() over (partition by 1 order by score desc) as place,
row_number() over (order by score desc) as place,
match_time,
match_id,
player_id,
Expand Down

0 comments on commit 6bb9c99

Please sign in to comment.