Skip to content

Commit

Permalink
assert_ingest_data_to_player_scores_from_stdio(): stabilize rows orde…
Browse files Browse the repository at this point in the history
…r [3]
  • Loading branch information
s373r committed Oct 10, 2024
1 parent 48c61ae commit 44b9484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ pub async fn test_ingest_from_stdin(kamu: KamuCliPuppet) {
┌────┬──────────────────────┬──────────────────────┬──────────┬───────────┬───────┐
│ op │ system_time │ match_time │ match_id │ player_id │ score │
├────┼──────────────────────┼──────────────────────┼──────────┼───────────┼───────┤
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-03T00:00:00Z │ 3 │ Bob │ 60 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-03T00:00:00Z │ 3 │ Charlie │ 110 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-01T00:00:00Z │ 1 │ Alice │ 100 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-01T00:00:00Z │ 1 │ Bob │ 80 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-02T00:00:00Z │ 2 │ Charlie │ 90 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-02T00:00:00Z │ 2 │ Alice │ 70 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-03T00:00:00Z │ 3 │ Bob │ 60 │
│ 0 │ 2050-01-02T03:04:05Z │ 2000-01-03T00:00:00Z │ 3 │ Charlie │ 110 │
└────┴──────────────────────┴──────────────────────┴──────────┴───────────┴───────┘
"#
),
Expand Down Expand Up @@ -448,7 +448,7 @@ async fn assert_ingest_data_to_player_scores_from_stdio<I, S, T>(
r#"
SELECT op, system_time, match_time, match_id, player_id, score
FROM "player-scores"
OREDER BY match_time;
ORDER BY match_time;
"#
),
"--output-format",
Expand Down
2 changes: 1 addition & 1 deletion src/infra/core/src/query_service_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl QueryServiceImpl {
.with_information_schema(true)
.with_default_catalog_and_schema("kamu", "kamu");

// Forcing cese-sensitive identifiers in case-insensitive language seems to
// Forcing case-sensitive identifiers in case-insensitive language seems to
// be a lesser evil than following DataFusion's default behavior of forcing
// identifiers to lowercase instead of case-insensitive matching.
//
Expand Down

0 comments on commit 44b9484

Please sign in to comment.