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

Method schema_name

datafusion/expr/src/expr.rs:1582–1584  ·  view source on GitHub ↗

The name of the column (field) that this `Expr` will produce. For example, for a projection (e.g. `SELECT `) the resulting arrow [`Schema`] will have a field with this name. Note that the resulting string is subtlety different from the `Display` representation for certain `Expr`. Some differences: 1. [`Expr::Alias`], which shows only the alias itself 2. [`Expr::Cast`] / [`Expr::TryCast`],

(&self)

Source from the content-addressed store, hash-verified

1580 ///
1581 /// [`Schema`]: arrow::datatypes::Schema
1582 pub fn schema_name(&self) -> impl Display + '_ {
1583 SchemaDisplay(self)
1584 }
1585
1586 /// Human readable display formatting for this expression.
1587 ///

Callers 4

qualified_nameMethod · 0.45
name_for_aliasMethod · 0.45
fmtMethod · 0.45
physical_nameFunction · 0.45

Calls 1

SchemaDisplayClass · 0.85

Tested by

no test coverage detected