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

Method verify

datafusion/common/src/param_value.rs:39–46  ·  view source on GitHub ↗
(&self, expect: &[DataType])

Source from the content-addressed store, hash-verified

37 /// computing type equality.
38 #[deprecated(since = "51.0.0", note = "Use verify_fields instead")]
39 pub fn verify(&self, expect: &[DataType]) -> Result<()> {
40 // make dummy Fields
41 let expect = expect
42 .iter()
43 .map(|dt| Field::new("", dt.clone(), true).into())
44 .collect::<Vec<_>>();
45 self.verify_fields(&expect)
46 }
47
48 /// Verify parameter list length and type
49 pub fn verify_fields(&self, expect: &[FieldRef]) -> Result<()> {

Callers

nothing calls this directly

Calls 6

newFunction · 0.85
verify_fieldsMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
intoMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected