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

Method alias_qualified

datafusion/expr/src/expr.rs:1813–1819  ·  view source on GitHub ↗

Return `self AS name` alias expression with a specific qualifier

(
        self,
        relation: Option<impl Into<TableReference>>,
        name: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

1811
1812 /// Return `self AS name` alias expression with a specific qualifier
1813 pub fn alias_qualified(
1814 self,
1815 relation: Option<impl Into<TableReference>>,
1816 name: impl Into<String>,
1817 ) -> Expr {
1818 Expr::Alias(Alias::new(self, relation, name.into()))
1819 }
1820
1821 /// Return `self AS name` alias expression with a specific qualifier and metadata
1822 ///

Callers 9

restoreMethod · 0.80
with_column_renamedMethod · 0.80
rewriteMethod · 0.80
rewriteMethod · 0.80
rewrite_internalFunction · 0.80

Calls 3

AliasClass · 0.85
newFunction · 0.85
intoMethod · 0.45

Tested by 1