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

Method with_metadata

datafusion/expr/src/expr_schema.rs:1177–1181  ·  view source on GitHub ↗
(mut self, metadata: FieldMetadata)

Source from the content-addressed store, hash-verified

1175 }
1176
1177 fn with_metadata(mut self, metadata: FieldMetadata) -> Self {
1178 self.field =
1179 Arc::new(metadata.add_to_field(Arc::unwrap_or_clone(self.field)));
1180 self
1181 }
1182 }
1183
1184 impl ExprSchema for MockExprSchema {

Callers 4

cast_output_fieldFunction · 0.45
test_expr_metadataFunction · 0.45
test_expr_placeholderFunction · 0.45

Calls 2

newFunction · 0.85
add_to_fieldMethod · 0.80