test: add test case for multiple aggregates
@@ -1006,6 +1006,22 @@ west,POST,prod,304
NULL,2
prod,3
stag,1
+",
+ ),
+ (
+ vec![],
+ vec!["region", "method"],
+ vec![
+ ("counter", AggregateType::Sum),
+ ("counter", AggregateType::Min),
+ ("counter", AggregateType::Max),
+ ],
+ "region,method,counter_sum,counter_min,counter_max
+east,POST,200,200,200
+north,GET,10,10,10
+south,PUT,203,203,203
+west,GET,100,100,100
+west,POST,304,101,203
",
),
];
