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

Method field

datafusion/functions-window/src/lead_lag.rs:287–295  ·  view source on GitHub ↗
(&self, field_args: WindowUDFFieldArgs)

Source from the content-addressed store, hash-verified

285 }
286
287 fn field(&self, field_args: WindowUDFFieldArgs) -> Result<FieldRef> {
288 let return_field = parse_expr_field(field_args.input_fields())?;
289
290 Ok(return_field
291 .as_ref()
292 .clone()
293 .with_name(field_args.name())
294 .into())
295 }
296
297 fn reverse_expr(&self) -> ReversedUDWF {
298 match self.kind {

Callers

nothing calls this directly

Calls 7

parse_expr_fieldFunction · 0.85
input_fieldsMethod · 0.45
intoMethod · 0.45
with_nameMethod · 0.45
cloneMethod · 0.45
as_refMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected