MCPcopy Create free account
hub / github.com/apache/datafusion / build

Method build

datafusion/core/tests/fuzz_cases/aggregation_fuzzer/fuzzer.rs:93–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 }
92
93 pub fn build(self) -> AggregationFuzzer {
94 assert!(!self.candidate_sqls.is_empty());
95 let candidate_sqls = self.candidate_sqls;
96 let table_name = self.table_name.expect("table_name is required");
97 let data_gen_config = self.data_gen_config.expect("data_gen_config is required");
98 let data_gen_rounds = self.data_gen_rounds;
99
100 let dataset_generator = DatasetGenerator::new(data_gen_config);
101
102 AggregationFuzzer {
103 candidate_sqls,
104 table_name,
105 dataset_generator,
106 data_gen_rounds,
107 }
108 }
109}
110
111impl Default for AggregationFuzzerBuilder {

Callers 15

execute_with_predicateFunction · 0.45
write_parquet_fileFunction · 0.45
test_minFunction · 0.45
test_first_valFunction · 0.45
test_last_valFunction · 0.45
test_maxFunction · 0.45
test_sumFunction · 0.45
test_countFunction · 0.45
test_medianFunction · 0.45

Calls 1

newFunction · 0.85

Tested by

no test coverage detected