Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
swap_table in datafusion_optimizer::utils - Rust
[go: Go Back, main page]

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 columns
  • cols - A slice of Columns

Return value

A new slice of columns, now belonging to the new table