You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/cubesql/cubesql/src/compile/mod.rs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2800,10 +2800,11 @@ limit
2800
2800
#[tokio::test]
2801
2801
async fn test_select_error() {
2802
2802
let variants = vec![
2803
-
(
2804
-
"SELECT AVG(maxPrice) FROM KibanaSampleDataEcommerce".to_string(),
2805
-
CompilationError::user("Error during rewrite: Measure aggregation type doesn't match. The aggregation type for 'maxPrice' is 'MAX()' but 'AVG()' was provided. Please check logs for additional information.".to_string()),
2806
-
),
2803
+
// TODO this variant is no longer a error, figure out new one
2804
+
// (
2805
+
// "SELECT AVG(maxPrice) FROM KibanaSampleDataEcommerce".to_string(),
2806
+
// CompilationError::user("Error during rewrite: Measure aggregation type doesn't match. The aggregation type for 'maxPrice' is 'MAX()' but 'AVG()' was provided. Please check logs for additional information.".to_string()),
2807
+
// ),
2807
2808
];
2808
2809
2809
2810
for (input_query, expected_error) in variants.iter() {
0 commit comments