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

Method alias

datafusion/expr/src/logical_plan/builder.rs:678–680  ·  view source on GitHub ↗

Apply an alias

(self, alias: impl Into<TableReference>)

Source from the content-addressed store, hash-verified

676
677 /// Apply an alias
678 pub fn alias(self, alias: impl Into<TableReference>) -> Result<Self> {
679 subquery_alias(Arc::unwrap_or_clone(self.plan), alias).map(Self::new)
680 }
681
682 /// Add missing sort columns to all downstream projection
683 ///

Callers 8

project_with_validationFunction · 0.45
replace_columnsFunction · 0.45
test_union_after_joinFunction · 0.45
coerce_exprs_for_schemaFunction · 0.45

Calls 2

subquery_aliasFunction · 0.85
mapMethod · 0.45

Tested by 1

test_union_after_joinFunction · 0.36