()
| 190 | |
| 191 | #[tokio::test(flavor = "multi_thread")] |
| 192 | async fn test_count() { |
| 193 | let data_gen_config = baseline_config(); |
| 194 | |
| 195 | // Queries like SELECT count(a), count(distinct) FROM fuzz_table GROUP BY b |
| 196 | let query_builder = QueryBuilder::new() |
| 197 | .with_table_name("fuzz_table") |
| 198 | .with_aggregate_function("count") |
| 199 | .with_distinct_aggregate_function("count") |
| 200 | // count work for all arguments |
| 201 | .with_aggregate_arguments(data_gen_config.all_columns()) |
| 202 | .with_dataset_sort_keys(data_gen_config.sort_keys_set.clone()) |
| 203 | .set_group_by_columns(data_gen_config.all_columns()); |
| 204 | |
| 205 | AggregationFuzzerBuilder::from(data_gen_config) |
| 206 | .add_query_builder(query_builder) |
| 207 | .build() |
| 208 | .run() |
| 209 | .await; |
| 210 | } |
| 211 | |
| 212 | #[tokio::test(flavor = "multi_thread")] |
| 213 | async fn test_median() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…