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

Method union

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

Apply a union, preserving duplicate rows

(self, plan: LogicalPlan)

Source from the content-addressed store, hash-verified

866
867 /// Apply a union, preserving duplicate rows
868 pub fn union(self, plan: LogicalPlan) -> Result<Self> {
869 union(Arc::unwrap_or_clone(self.plan), plan).map(Self::new)
870 }
871
872 /// Apply a union by name, preserving duplicate rows
873 pub fn union_by_name(self, plan: LogicalPlan) -> Result<Self> {

Callers 2

plan_builder_unionFunction · 0.45
test_union_after_joinFunction · 0.45

Calls 2

unionFunction · 0.70
mapMethod · 0.45

Tested by 2

plan_builder_unionFunction · 0.36
test_union_after_joinFunction · 0.36