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

Method validate_suite_fields

benchmarks/src/benchmark_runner/suite.rs:229–237  ·  view source on GitHub ↗

Validates required suite-level fields.

(&self)

Source from the content-addressed store, hash-verified

227
228 /// Validates required suite-level fields.
229 fn validate_suite_fields(&self) -> Result<()> {
230 if self.name.trim().is_empty() {
231 return Err(DataFusionError::Configuration(
232 "suite name cannot be empty".to_string(),
233 ));
234 }
235
236 Ok(())
237 }
238
239 /// Validates suite-defined option declarations.
240 fn validate_options(&self) -> Result<()> {

Callers 1

validateMethod · 0.80

Calls 3

trimMethod · 0.80
is_emptyMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected