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

Method name_for_alias

datafusion/expr/src/expr.rs:1770–1772  ·  view source on GitHub ↗

Return the name to use for the specific Expr

(&self)

Source from the content-addressed store, hash-verified

1768
1769 /// Return the name to use for the specific Expr
1770 pub fn name_for_alias(&self) -> Result<String> {
1771 Ok(self.schema_name().to_string())
1772 }
1773
1774 /// Ensure `expr` has the name as `original_name` by adding an
1775 /// alias if necessary.

Callers 2

alias_if_changedMethod · 0.80

Calls 2

to_stringMethod · 0.45
schema_nameMethod · 0.45

Tested by

no test coverage detected