Function datafusion_optimizer::utils::swap_table
source · pub fn swap_table(new_table: &str, cols: &[Column]) -> Vec<Column>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
Expand description
Change the relation on a slice of Columns
Arguments
new_table
- The table/relation for the new columnscols
- A slice of Columns
Return value
A new slice of columns, now belonging to the new table