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

Method metadata

datafusion/expr/src/expr_schema.rs:400–403  ·  view source on GitHub ↗
(&self, schema: &dyn ExprSchema)

Source from the content-addressed store, hash-verified

398 }
399
400 fn metadata(&self, schema: &dyn ExprSchema) -> Result<FieldMetadata> {
401 self.to_field(schema)
402 .map(|(_, field)| FieldMetadata::from(field.metadata()))
403 }
404
405 /// Returns the datatype and nullability of the expression based on [ExprSchema].
406 ///

Callers 12

fmtMethod · 0.45
cast_output_fieldFunction · 0.45
to_fieldMethod · 0.45
get_parameter_fieldsMethod · 0.45
projection_schemaFunction · 0.45
try_newMethod · 0.45
infer_dataMethod · 0.45
build_join_schemaFunction · 0.45
update_disk_usageMethod · 0.45

Calls 2

to_fieldMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected