(&self, expect: &[DataType])
| 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<()> { |