Skip to content

Commit

Permalink
fix: ordering to debug test failure
Browse files Browse the repository at this point in the history
- maybe follows the alphabetical ordering
  • Loading branch information
akhilender-bongirwar committed Oct 23, 2024
1 parent b5cdcfd commit 7120962
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/proof-of-sql/src/sql/parse/query_expr_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,8 @@ fn group_by_expressions_are_parsed_before_an_order_by_referencing_an_aggregate_a
let accessor = schema_accessor_from_table_ref_with_schema(
t,
indexmap! {
"salary".parse().unwrap() => ColumnType::BigInt,
"department_budget".parse().unwrap() => ColumnType::BigInt,
"salary".parse().unwrap() => ColumnType::BigInt,
"tax".parse().unwrap() => ColumnType::BigInt,
},
);
Expand Down Expand Up @@ -1401,10 +1401,10 @@ fn we_can_use_multiple_group_by_clauses_with_multiple_agg_and_non_agg_exprs() {
let accessor = schema_accessor_from_table_ref_with_schema(
t,
indexmap! {
"salary".parse().unwrap() => ColumnType::BigInt,
"bonus".parse().unwrap() => ColumnType::BigInt,
"tax".parse().unwrap() => ColumnType::BigInt,
"name".parse().unwrap() => ColumnType::VarChar,
"salary".parse().unwrap() => ColumnType::BigInt,
"tax".parse().unwrap() => ColumnType::BigInt,
},
);
let query_text = "select salary d1, max(tax), salary d2, sum(bonus) sum_bonus, count(name) count_s from sxt.employees group by salary, bonus, salary";
Expand Down Expand Up @@ -1916,9 +1916,9 @@ fn count_aggregation_always_have_integer_type() {
let accessor = schema_accessor_from_table_ref_with_schema(
t,
indexmap! {
"name".parse().unwrap() => ColumnType::VarChar,
"salary".parse().unwrap() => ColumnType::BigInt,
"tax".parse().unwrap() => ColumnType::Int128,
"salary".parse().unwrap() => ColumnType::BigInt,
"name".parse().unwrap() => ColumnType::VarChar,
},
);
let query_text =
Expand Down

0 comments on commit 7120962

Please sign in to comment.