Skip to content

Commit 1b45909

Browse files
committed
Fix CI compile error
1 parent 7c39936 commit 1b45909

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

yardstick-rs/src/sql/measures.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ fn find_expression_start(sql: &str, end: usize) -> usize {
20692069
/// Uses position-based replacement with the C++ FFI parser
20702070
pub fn expand_aggregate(sql: &str) -> AggregateExpandResult {
20712071
let cte_expansion = expand_cte_queries(sql);
2072-
let mut sql = cte_expansion.sql;
2072+
let sql = cte_expansion.sql;
20732073
let mut had_aggregate = cte_expansion.had_aggregate;
20742074

20752075
if !has_aggregate_function(&sql) {
@@ -2124,7 +2124,7 @@ pub fn expand_aggregate(sql: &str) -> AggregateExpandResult {
21242124
.unwrap_or(false)
21252125
});
21262126
if uses_non_decomposable {
2127-
return expand_aggregate_with_at(sql);
2127+
return expand_aggregate_with_at(&sql);
21282128
}
21292129
}
21302130

@@ -3494,7 +3494,7 @@ fn expand_modifiers_to_sql_derived(
34943494
/// Expand AGGREGATE() with AT modifiers in SQL
34953495
pub fn expand_aggregate_with_at(sql: &str) -> AggregateExpandResult {
34963496
let cte_expansion = expand_cte_queries(sql);
3497-
let mut sql = cte_expansion.sql;
3497+
let sql = cte_expansion.sql;
34983498
let mut had_aggregate = cte_expansion.had_aggregate;
34993499

35003500
// Check if we need the full expansion path (AT modifiers or non-decomposable measures)

0 commit comments

Comments
 (0)