(
ids: &'ids [String],
schema: &'schema DFSchema,
)
| 308 | } |
| 309 | |
| 310 | fn search_dfschema<'ids, 'schema>( |
| 311 | ids: &'ids [String], |
| 312 | schema: &'schema DFSchema, |
| 313 | ) -> Option<( |
| 314 | &'schema FieldRef, |
| 315 | Option<&'schema TableReference>, |
| 316 | &'ids [String], |
| 317 | )> { |
| 318 | generate_schema_search_terms(ids).find_map(|(qualifier, column, nested_names)| { |
| 319 | let qualifier_and_field = schema |
| 320 | .qualified_field_with_name(qualifier.as_ref(), column) |
| 321 | .ok(); |
| 322 | qualifier_and_field.map(|(qualifier, field)| (field, qualifier, nested_names)) |
| 323 | }) |
| 324 | } |
| 325 | |
| 326 | // Possibilities we search with, in order from top to bottom for each len: |
| 327 | // |
no test coverage detected
searching dependent graphs…